添加uptime
This commit is contained in:
parent
76e8caf1ef
commit
175f339a53
|
|
@ -4,6 +4,7 @@ import com.bonus.canteen.core.common.encrypt.LeNiuDecryptDataProcess;
|
|||
import com.bonus.canteen.core.common.encrypt.LeNiuDecryptField;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import lombok.Data;
|
||||
import org.springframework.format.annotation.DateTimeFormat;
|
||||
|
||||
import java.time.LocalDate;
|
||||
import java.time.LocalDateTime;
|
||||
|
|
@ -30,6 +31,8 @@ public class CustInfoParam {
|
|||
private List<Integer> cardStatusList;
|
||||
private LocalDateTime beginOpenCardTime;
|
||||
private LocalDateTime endOpenCardTime;
|
||||
@DateTimeFormat(pattern = "yyyy-MM-dd")
|
||||
private LocalDate upTime;
|
||||
@ApiModelProperty("个人账户级别 1个人 2部门主账户")
|
||||
private Integer custType;
|
||||
private String shape;
|
||||
|
|
|
|||
|
|
@ -419,6 +419,11 @@
|
|||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="infoParam.upTime != null">
|
||||
<![CDATA[
|
||||
and ci.uptime >= #{infoParam.upTime}
|
||||
]]>
|
||||
</if>
|
||||
</where>
|
||||
order by ci.id desc
|
||||
</select>
|
||||
|
|
|
|||
Loading…
Reference in New Issue