Commit 7e567160 authored by chenzhao's avatar chenzhao

Revert "因code不唯一 修改 根据code查询 增添条件 type 判断条件 code相等 type值相等"

This reverts commit f65d6dee.
parent f8ba80a6
......@@ -30,9 +30,6 @@ public class DataDictionaryDto extends BaseDto {
@ApiModelProperty(value = "父级")
private Long parent;
@ApiModelProperty(value = "类型说明")
private String typeDesc;
@ApiModelProperty(value = "操作人名称")
private String recUserName;
......
......@@ -37,9 +37,6 @@ public class DataDictionary extends BaseEntity {
@ApiModelProperty(value = "父级")
private Long parent;
@ApiModelProperty(value = "类型说明")
private String typeDesc;
//新加排序字段
@ApiModelProperty(value = "排序字段")
private int sortNum;
......
......@@ -88,9 +88,9 @@ public class DataDictionaryServiceImpl extends BaseService<DataDictionaryDto, Da
}
public DataDictionary getByCode(String code,String type) {
public DataDictionary getByCode(String code) {
DataDictionary byCode = dataDictionaryMapper.getByCode(code,type);
DataDictionary byCode = dataDictionaryMapper.getByCode(code);
return byCode;
}
......
......@@ -55,6 +55,6 @@ AND elink.count IS NOT NULL
cb_data_dictionary cbb
WHERE
cbb.code = #{code} and cbb.is_delete = 0 and cbb.type = #{type}
cbb.code = #{code} and cbb.is_delete = 0
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment