Browse Source

/heart/userdemand/pagelist入参增加demandRecId

dev
yinzuomei 3 years ago
parent
commit
b36a16fe64
  1. 7
      epmet-module/epmet-heart/epmet-heart-client/src/main/java/com/epmet/dto/form/demand/UserDemandPageFormDTO.java
  2. 3
      epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcUserDemandRecDao.xml

7
epmet-module/epmet-heart/epmet-heart-client/src/main/java/com/epmet/dto/form/demand/UserDemandPageFormDTO.java

@ -79,4 +79,11 @@ public class UserDemandPageFormDTO extends PageFormDTO implements Serializable {
* 搜索关键词
*/
private String keyword;
/**
* 需求id
*/
private String demandRecId;
}

3
epmet-module/epmet-heart/epmet-heart-server/src/main/resources/mapper/IcUserDemandRecDao.xml

@ -129,6 +129,9 @@
<if test="null != wantServiceEndTime and wantServiceEndTime != '' ">
AND DATE_FORMAT(r.WANT_SERVICE_TIME,'%Y-%m-%d') <![CDATA[ <= ]]> #{wantServiceEndTime}
</if>
<if test="null != demandRecId and demandRecId != '' ">
and r.id = #{demandRecId}
</if>
order by r.WANT_SERVICE_TIME desc,r.CREATED_TIME asc
</select>

Loading…
Cancel
Save