pad接口-退货单-退货指令查询:支持退货发起日期查询条件

This commit is contained in:
1378012178@qq.com 2025-12-15 16:15:58 +08:00
parent 389fa3413d
commit 1f18a02800
2 changed files with 15 additions and 0 deletions

View File

@ -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;
}

View File

@ -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