给系统参数表增加库存审核启用标记
This commit is contained in:
@@ -574,6 +574,9 @@
|
||||
#{item}
|
||||
</foreach>
|
||||
</if>
|
||||
<if test="stockApprovalFlag">
|
||||
and dh.status = '1'
|
||||
</if>
|
||||
<if test="beginTime != null">
|
||||
and dh.oper_time >= #{beginTime}
|
||||
</if>
|
||||
@@ -601,6 +604,9 @@
|
||||
and ifnull(dh.delete_flag,'0') !='1'
|
||||
and di.material_extend_id=#{meId}
|
||||
and ifnull(di.sku,'') !=''
|
||||
<if test="stockApprovalFlag">
|
||||
and dh.status = '1'
|
||||
</if>
|
||||
<if test="beginTime != null">
|
||||
and dh.oper_time >= #{beginTime}
|
||||
</if>
|
||||
@@ -625,6 +631,9 @@
|
||||
where 1=1
|
||||
and ifnull(dh.delete_flag,'0') !='1'
|
||||
and di.material_id=#{mId}
|
||||
<if test="stockApprovalFlag">
|
||||
and dh.status = '1'
|
||||
</if>
|
||||
<if test="beginTime != null">
|
||||
and dh.oper_time >= #{beginTime}
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user