添加物料查询条件
This commit is contained in:
parent
497cf38ca0
commit
20c6207bca
|
|
@ -24,6 +24,15 @@
|
|||
<if test="param.checkId != null and param.checkId != ''">
|
||||
and id not in ( ${param.checkId} )
|
||||
</if>
|
||||
<if test="param.categoryId != null and param.categoryId != ''">
|
||||
and category_id = #{param.categoryId}
|
||||
</if>
|
||||
<if test="param.typeId != null and param.typeId != ''">
|
||||
and type_id = #{param.typeId}
|
||||
</if>
|
||||
<if test="param.medicationId != null and param.medicationId != ''">
|
||||
and medication_id = #{param.medicationId}
|
||||
</if>
|
||||
<if test="param.paramWlxx != null and param.paramWlxx != ''">
|
||||
and (material_name like concat('%', #{param.paramWlxx} , '%') or
|
||||
pinyin like concat('%', #{param.paramWlxx} , '%') or
|
||||
|
|
|
|||
Loading…
Reference in New Issue