Commit d7c4a267 by xugaojun

fix:老逻辑优化,审核记录sql优化

parent 12ec33ee
...@@ -437,7 +437,11 @@ ...@@ -437,7 +437,11 @@
and audit_type = 3 and audit_type = 3
and audit_status = 0 and audit_status = 0
and enterprise_id = #{enterpriseId,jdbcType=VARCHAR} and enterprise_id = #{enterpriseId,jdbcType=VARCHAR}
and (related_Id = #{clerkCode} or old_value like concat ('%',#{phoneNumber},'%')) and (related_Id = #{clerkCode}
<if test="phoneNumber != null and phoneNumber != ''">
or old_value like concat ('%',#{phoneNumber},'%')
</if>
)
</select> </select>
</mapper> </mapper>
\ No newline at end of file
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