Commit cb04552e authored by tianbo's avatar tianbo

feat(amos-boot-module-jg): 增加产品名称查询条件

在 JgUseRegistrationMapper.xml 文件中添加了 productName 的查询条件,允许用户根据产品名称进行模糊搜索。
parent d0500ecc
...@@ -1019,6 +1019,9 @@ ...@@ -1019,6 +1019,9 @@
<if test="jsonObject.factoryNum != null and jsonObject.factoryNum != ''"> <if test="jsonObject.factoryNum != null and jsonObject.factoryNum != ''">
and aa.factoryNum like concat('%',#{jsonObject.factoryNum},'%') and aa.factoryNum like concat('%',#{jsonObject.factoryNum},'%')
</if> </if>
<if test="jsonObject.productName != null and jsonObject.productName != ''">
and aa.productName like concat('%',#{jsonObject.productName},'%')
</if>
<if test="jsonObject.nextInspectDate != null and jsonObject.nextInspectDate != ''"> <if test="jsonObject.nextInspectDate != null and jsonObject.nextInspectDate != ''">
and aa.nextInspectDate =#{jsonObject.nextInspectDate} and aa.nextInspectDate =#{jsonObject.nextInspectDate}
</if> </if>
......
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