查询条件
This commit is contained in:
+10
@@ -450,4 +450,14 @@ public class ReservationStockInOrderDO extends BaseVOEntity {
|
|||||||
|
|
||||||
@ApiModelProperty("NC客户编码")
|
@ApiModelProperty("NC客户编码")
|
||||||
private String customerNcCode;
|
private String customerNcCode;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间起")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeStart;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间止")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeEnd;
|
||||||
}
|
}
|
||||||
+9
@@ -449,4 +449,13 @@ public class ReservationStockInOrderDTO extends ReservationStockInOrderBaseDTO {
|
|||||||
@ApiModelProperty("NC客户编码")
|
@ApiModelProperty("NC客户编码")
|
||||||
private String customerNcCode;
|
private String customerNcCode;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间起")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeStart;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间止")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeEnd;
|
||||||
}
|
}
|
||||||
+10
@@ -537,4 +537,14 @@ public class ReservationStockOutOrderDO extends BaseVOEntity {
|
|||||||
@ApiModelProperty("车次")
|
@ApiModelProperty("车次")
|
||||||
@Excel(name = "车次")
|
@Excel(name = "车次")
|
||||||
private Integer trainNo;
|
private Integer trainNo;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间起")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeStart;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间止")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeEnd;
|
||||||
}
|
}
|
||||||
+10
@@ -526,4 +526,14 @@ public class ReservationStockOutOrderDTO extends ReservationStockOutOrderBaseDTO
|
|||||||
@ApiModelProperty("车次")
|
@ApiModelProperty("车次")
|
||||||
@Excel(name = "车次")
|
@Excel(name = "车次")
|
||||||
private Integer trainNo;
|
private Integer trainNo;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间起")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeStart;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间止")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeEnd;
|
||||||
}
|
}
|
||||||
+9
@@ -420,6 +420,15 @@
|
|||||||
<if test="createTimeEnd != null and createTimeEnd != ''">
|
<if test="createTimeEnd != null and createTimeEnd != ''">
|
||||||
and date_format(a.create_time,'%Y-%m-%d') <= #{createTimeEnd}
|
and date_format(a.create_time,'%Y-%m-%d') <= #{createTimeEnd}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="pushTimeStart != null">
|
||||||
|
and PUSH_TIME <![CDATA[>=]]> #{pushTimeStart}
|
||||||
|
</if>
|
||||||
|
<if test="pushTimeEnd != null">
|
||||||
|
and PUSH_TIME <![CDATA[<=]]> #{pushTimeEnd}
|
||||||
|
</if>
|
||||||
|
<if test="pushStatus != null">
|
||||||
|
and a.PUSH_STATUS = #{pushStatus}
|
||||||
|
</if>
|
||||||
<!-- 入库明细:物料名称、物料编码(同一明细行同时满足;与计划数量汇总口径一致)。关联 material_base_info 避免明细冗余名称与主档不一致时筛不到 -->
|
<!-- 入库明细:物料名称、物料编码(同一明细行同时满足;与计划数量汇总口径一致)。关联 material_base_info 避免明细冗余名称与主档不一致时筛不到 -->
|
||||||
<if test="(materialName != null and materialName != '') or (materialCode != null and materialCode != '')">
|
<if test="(materialName != null and materialName != '') or (materialCode != null and materialCode != '')">
|
||||||
and exists (
|
and exists (
|
||||||
|
|||||||
+9
@@ -322,6 +322,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="needDeclareFlag != null">
|
<if test="needDeclareFlag != null">
|
||||||
and a.NEED_DECLARE_FLAG = #{needDeclareFlag}
|
and a.NEED_DECLARE_FLAG = #{needDeclareFlag}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="pushTimeStart != null">
|
||||||
|
and PUSH_TIME <![CDATA[>=]]> #{pushTimeStart}
|
||||||
|
</if>
|
||||||
|
<if test="pushTimeEnd != null">
|
||||||
|
and PUSH_TIME <![CDATA[<=]]> #{pushTimeEnd}
|
||||||
|
</if>
|
||||||
|
<if test="pushStatus != null">
|
||||||
|
and a.PUSH_STATUS = #{pushStatus}
|
||||||
|
</if>
|
||||||
<!-- 出库明细:物料名称、物料编码(同一明细行同时满足;与出库明细口径一致)。关联 material_base_info 避免明细冗余名称与主档不一致时筛不到 -->
|
<!-- 出库明细:物料名称、物料编码(同一明细行同时满足;与出库明细口径一致)。关联 material_base_info 避免明细冗余名称与主档不一致时筛不到 -->
|
||||||
<!-- <if test="(materialName != null and materialName != '') or (materialCode != null and materialCode != '')">-->
|
<!-- <if test="(materialName != null and materialName != '') or (materialCode != null and materialCode != '')">-->
|
||||||
<!-- and exists (-->
|
<!-- and exists (-->
|
||||||
|
|||||||
+10
@@ -209,4 +209,14 @@ public class PickingOrderDO extends BaseVOEntity {
|
|||||||
|
|
||||||
@ApiModelProperty("是否报关")
|
@ApiModelProperty("是否报关")
|
||||||
private String needDeclareFlag;
|
private String needDeclareFlag;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间起")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeStart;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间止")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeEnd;
|
||||||
}
|
}
|
||||||
+9
@@ -155,4 +155,13 @@ public class StockShelfOrderDO extends StockInOrderBaseDO {
|
|||||||
@ApiModelProperty("是否报关")
|
@ApiModelProperty("是否报关")
|
||||||
private Long needCustomsDeclaration;
|
private Long needCustomsDeclaration;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间起")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeStart;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间止")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeEnd;
|
||||||
}
|
}
|
||||||
@@ -177,4 +177,14 @@ public class PickingOrderDTO extends BaseVOEntity {
|
|||||||
|
|
||||||
@ApiModelProperty("是否报关")
|
@ApiModelProperty("是否报关")
|
||||||
private String needDeclareFlag;
|
private String needDeclareFlag;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间起")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeStart;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间止")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeEnd;
|
||||||
}
|
}
|
||||||
+10
@@ -143,4 +143,14 @@ public class StockShelfOrderDTO extends StockInOrderBaseDTO {
|
|||||||
|
|
||||||
@ApiModelProperty("是否报关")
|
@ApiModelProperty("是否报关")
|
||||||
private Long needCustomsDeclaration;
|
private Long needCustomsDeclaration;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间起")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeStart;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "推送时间止")
|
||||||
|
@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||||
|
private Date pushTimeEnd;
|
||||||
}
|
}
|
||||||
@@ -117,6 +117,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="needDeclareFlag != null and needDeclareFlag != ''">
|
<if test="needDeclareFlag != null and needDeclareFlag != ''">
|
||||||
and b.need_declare_flag = #{needDeclareFlag}
|
and b.need_declare_flag = #{needDeclareFlag}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="pushTimeStart != null">
|
||||||
|
and PUSH_TIME <![CDATA[>=]]> #{pushTimeStart}
|
||||||
|
</if>
|
||||||
|
<if test="pushTimeEnd != null">
|
||||||
|
and PUSH_TIME <![CDATA[<=]]> #{pushTimeEnd}
|
||||||
|
</if>
|
||||||
|
<if test="pushStatus != null">
|
||||||
|
and a.PUSH_STATUS = #{pushStatus}
|
||||||
|
</if>
|
||||||
</sql>
|
</sql>
|
||||||
|
|
||||||
<select id="queryList" parameterType="com.mhd.wms.domain.pickingOrder.repository.todo.PickingOrderDO" resultMap="PickingOrderResult">
|
<select id="queryList" parameterType="com.mhd.wms.domain.pickingOrder.repository.todo.PickingOrderDO" resultMap="PickingOrderResult">
|
||||||
|
|||||||
@@ -105,6 +105,15 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||||||
<if test="createTimeEnd != null and createTimeEnd != ''">
|
<if test="createTimeEnd != null and createTimeEnd != ''">
|
||||||
and date_format(a.create_time,'%Y-%m-%d') <= #{createTimeEnd}
|
and date_format(a.create_time,'%Y-%m-%d') <= #{createTimeEnd}
|
||||||
</if>
|
</if>
|
||||||
|
<if test="pushTimeStart != null">
|
||||||
|
and PUSH_TIME <![CDATA[>=]]> #{pushTimeStart}
|
||||||
|
</if>
|
||||||
|
<if test="pushTimeEnd != null">
|
||||||
|
and PUSH_TIME <![CDATA[<=]]> #{pushTimeEnd}
|
||||||
|
</if>
|
||||||
|
<if test="pushStatus != null">
|
||||||
|
and a.PUSH_STATUS = #{pushStatus}
|
||||||
|
</if>
|
||||||
<choose>
|
<choose>
|
||||||
<when test="delFlag != null"> and a.del_flag = #{delFlag} </when>
|
<when test="delFlag != null"> and a.del_flag = #{delFlag} </when>
|
||||||
<otherwise> and a.del_flag = 1 </otherwise>
|
<otherwise> and a.del_flag = 1 </otherwise>
|
||||||
|
|||||||
Reference in New Issue
Block a user