11/15 药品基础信息优化

dev_unify
wangwei 8 months ago
parent f0be935b0b
commit 4db20f6159

@ -124,5 +124,7 @@ public class FilterUdiRelRequest extends ListPageRequest {
*/ */
private String payFeeCode; private String payFeeCode;
private String keyWords;
} }

@ -730,6 +730,26 @@
<if test="groupBuy != null"> <if test="groupBuy != null">
and basic_udirel.groupBuy = #{groupBuy} and basic_udirel.groupBuy = #{groupBuy}
</if> </if>
<if test="keyWords != '' and keyWords != null">
AND (
nameCode LIKE concat('%', #{keyWords}, '%')
or ybbm LIKE concat('%', #{keyWords}, '%')
or sptm LIKE concat('%', #{keyWords}, '%')
or basic_udirel.mainId LIKE concat('%', #{keyWords}, '%')
or basic_udirel.thirdId LIKE concat('%', #{keyWords}, '%')
or basic_udirel.thirdId1 LIKE concat('%', #{keyWords}, '%')
or basic_udirel.thirdId2 LIKE concat('%', #{keyWords}, '%')
or basic_udirel.thirdId3 LIKE concat('%', #{keyWords}, '%')
or basic_udirel.thirdId4 LIKE concat('%', #{keyWords}, '%')
or basic_udirel.thirdId4 LIKE concat('%', #{keyWords}, '%')
or basic_products.cpmctymc LIKE concat('%', #{keyWords}, '%')
or basic_products.ggxh LIKE concat('%', #{keyWords}, '%')
or basic_products.zczbhhzbapzbh LIKE concat('%', #{keyWords}, '%')
or basic_products.manufactory LIKE concat('%', #{keyWords}, '%')
or basic_products.ybbm LIKE concat(#{keyWords}, '%')
or basic_products.bzgg LIKE concat('%', #{keyWords}, '%')
or basic_products.prepnSpec LIKE concat('%', #{keyWords}, '%'))
</if>
</where> </where>
GROUP BY basic_udirel.id GROUP BY basic_udirel.id
ORDER BY modifyTime DESC ORDER BY modifyTime DESC

Loading…
Cancel
Save