Commit fd170f8b authored by 罗林杰's avatar 罗林杰

增加字段

parent f9051da6
...@@ -81,5 +81,8 @@ public class WmsGoodsLog extends CyIdIncreEntity<WmsGoodsLog> { ...@@ -81,5 +81,8 @@ public class WmsGoodsLog extends CyIdIncreEntity<WmsGoodsLog> {
@JsonIgnore @JsonIgnore
@TableField(exist = false) @TableField(exist = false)
private String minNum; private String minNum;
@TableField(exist = false)
private String appCode;
} }
...@@ -112,7 +112,8 @@ ...@@ -112,7 +112,8 @@
wg.goods_style as goods_style, wg.goods_style as goods_style,
wg.goods_norms as goods_norms, wg.goods_norms as goods_norms,
wg.goods_size as goods_size, wg.goods_size as goods_size,
wga.out_goods as out_goods wga.out_goods as out_goods,
wga.app_code as app_code
from wms_goods_log wgl from wms_goods_log wgl
left join wms_goods wg on wgl.goods_id = wg.business_id left join wms_goods wg on wgl.goods_id = wg.business_id
left join wms_goods_apply wga on wgl.apply_id = wga.business_id left join wms_goods_apply wga on wgl.apply_id = wga.business_id
...@@ -161,6 +162,9 @@ ...@@ -161,6 +162,9 @@
<if test="entity.maxNum !=null and entity.maxNum != '' "> <if test="entity.maxNum !=null and entity.maxNum != '' ">
and wgl.goods_counts &lt;= #{entity.maxNum} and wgl.goods_counts &lt;= #{entity.maxNum}
</if> </if>
<if test="entity.appCode !=null and entity.appCode != '' ">
and wga.app_code = #{entity.appCode}
</if>
<if test="entity.minNum !=null and entity.minNum != '' "> <if test="entity.minNum !=null and entity.minNum != '' ">
and wgl.goods_counts &gt;= #{entity.minNum} and wgl.goods_counts &gt;= #{entity.minNum}
</if> </if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment