Browse Source

创建人条件外置

feature/codemove
zhangyuan 3 years ago
parent
commit
1543b6cca2
  1. 3
      epdc-cloud-custom/src/main/resources/mapper/epidemic/PersonTestingDao.xml

3
epdc-cloud-custom/src/main/resources/mapper/epidemic/PersonTestingDao.xml

@ -67,6 +67,9 @@
CREATED_BY = #{creatorId}
)
</if>
<if test="creatorId != null and creatorId != ''">
AND t.CREATED_BY = #{creatorId}
</if>
<if test="name != null and name != ''">
AND t.name like '%${name}%'
</if>

Loading…
Cancel
Save