Browse Source

补充查询条件

feature/dangjian
zhangyuan 3 years ago
parent
commit
ccbcfe07ab
  1. 4
      esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml

4
esua-epdc/epdc-module/epdc-events/epdc-events-server/src/main/resources/mapper/item/ItemDao.xml

@ -519,7 +519,9 @@
) process on process.ITEM_ID = item.ID
WHERE item.DEL_FLAG = '0'
and (item.IS_PEOPLE = '0' or (item.PEOPLE_FLAG = '0' and (process.state is null or process.state not in (11,15))))
<if test="peopleFlag != null and peopleFlag != ''">
AND item.PEOPLE_FLAG = #{peopleFlag}
</if>
<if test="itemState != null and itemState != ''">
AND item.ITEM_STATE = #{itemState}
</if>

Loading…
Cancel
Save