sunyuchao 3 years ago
parent
commit
ab46a6d8c0
  1. 10
      epmet-user/epmet-user-client/src/main/java/com/epmet/dto/form/IcMoveInListFormDTO.java
  2. 4
      epmet-user/epmet-user-server/src/main/resources/mapper/IcMoveInRecordDao.xml

10
epmet-user/epmet-user-client/src/main/java/com/epmet/dto/form/IcMoveInListFormDTO.java

@ -1,10 +1,8 @@
package com.epmet.dto.form;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;
/**
* @Description 迁入管理列表--接口入参
@ -53,13 +51,13 @@ public class IcMoveInListFormDTO implements Serializable {
/**
* 起始迁入时间
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date startTime;
//@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private String startTime;
/**
* 终止迁入时间
*/
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date endTime;
//@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private String endTime;
/**
* 页码
*/

4
epmet-user/epmet-user-server/src/main/resources/mapper/IcMoveInRecordDao.xml

@ -57,10 +57,10 @@
AND id_card = #{idCard}
</if>
<if test="startTime != null and startTime != '' ">
AND in_time <![CDATA[>=]]> #{startTime}
AND DATE_FORMAT(in_time,"%Y-%m-%d") <![CDATA[>=]]> #{startTime}
</if>
<if test="endTime != null and endTime != '' ">
AND in_time <![CDATA[<=]]> #{endTime}
AND DATE_FORMAT(in_time,"%Y-%m-%d") <![CDATA[<=]]> #{endTime}
</if>
<if test="isWeifare != null and isWeifare != '' ">
AND is_welfare = #{isWeifare}

Loading…
Cancel
Save