新购验收入库和新购验收管理对出厂日期的bug进行修复

This commit is contained in:
hongchao 2025-01-22 15:11:01 +08:00
parent a3b562a77c
commit 445b8db21c
2 changed files with 2 additions and 2 deletions

View File

@ -59,7 +59,7 @@ public class PurchaseQueryDto {
private Long supplierId;
@ApiModelProperty(value = "出场日期")
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
@JsonFormat(pattern = "yyyy-MM-dd")
private Date productionTime;
/** 采购日期 */

View File

@ -119,7 +119,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
and pcd.supplier_id = #{supplierId}
</if>
<if test="productionTime != null">
and pcd.production_time between #{startTime} and #{endTime}
and pcd.production_time = #{productionTime}
</if>
<if test="keyWord != null and keyWord != ''">
and (mt.type_name like concat('%', #{keyWord}, '%')