修复主数据下发%问题
This commit is contained in:
parent
858a6e4ce8
commit
78b3fa5dac
|
@ -974,10 +974,10 @@ where id = #{id}
|
||||||
< #{item.filedVaule}
|
< #{item.filedVaule}
|
||||||
</when>
|
</when>
|
||||||
<when test="item.compareType == '5'.toString() ">
|
<when test="item.compareType == '5'.toString() ">
|
||||||
like concat('%',#{item.filedVaule},'%')
|
like #{item.filedVaule}
|
||||||
</when>
|
</when>
|
||||||
<when test="item.compareType == '6'.toString() ">
|
<when test="item.compareType == '6'.toString() ">
|
||||||
not like concat('%',#{item.filedVaule},'%')
|
not like #{item.filedVaule}
|
||||||
</when>
|
</when>
|
||||||
</choose>
|
</choose>
|
||||||
|
|
||||||
|
@ -1086,5 +1086,14 @@ where id = #{id}
|
||||||
AND b.sts = 'Y'
|
AND b.sts = 'Y'
|
||||||
AND b.data_status != 'N'
|
AND b.data_status != 'N'
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- 分页查询列表 采用like格式 -->
|
||||||
|
<select id="queryDataId" resultType="com.hzya.frame.mdm.entity.MdmFiledsRuleDto"
|
||||||
|
parameterType="com.hzya.frame.mdm.entity.MdmFiledsRuleDto">
|
||||||
|
select
|
||||||
|
data_id as dataId
|
||||||
|
from ${typeFiled} where sts='Y' and id = #{id}
|
||||||
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue