pad接口-退货单-退货指令查询:支持退货发起日期查询条件
This commit is contained in:
parent
389fa3413d
commit
1f18a02800
|
|
@ -106,4 +106,13 @@ public class InvoicingThdMainEntity implements Serializable {
|
|||
|
||||
private List<InvoicingThdLogEntity> logList;
|
||||
|
||||
/**发起时间*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private Date fqStartTime;
|
||||
/**发起时间*/
|
||||
@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
|
||||
private Date fqEndTime;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -41,6 +41,12 @@
|
|||
#{status}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="dto.fqStartTime != null">
|
||||
AND main.fq_time >= DATE_FORMAT(#{dto.fqStartTime}, '%Y-%m-%d 00:00:00')
|
||||
</if>
|
||||
<if test="dto.fqEndTime != null">
|
||||
AND main.fq_time <![CDATA[<=]]> DATE_FORMAT(#{dto.fqEndTime}, '%Y-%m-%d 23:59:59')
|
||||
</if>
|
||||
</where>
|
||||
ORDER BY
|
||||
CASE
|
||||
|
|
|
|||
Loading…
Reference in New Issue