增加批量设置会员当前的预付款接口,完善单据中收预付款的更新逻辑
This commit is contained in:
@@ -1235,4 +1235,13 @@
|
||||
</if>
|
||||
and ifnull(dh.delete_Flag,'0') !='1') tb
|
||||
</select>
|
||||
|
||||
<select id="getBillAllPriceByOrganId" resultType="java.math.BigDecimal">
|
||||
select ifnull(sum(dh.total_price),0) allPrice from jsh_depot_head dh
|
||||
where dh.organ_id=#{organId}
|
||||
and dh.type = '出库'
|
||||
and dh.sub_type = '零售'
|
||||
and dh.pay_type = '预付款'
|
||||
and ifnull(dh.delete_flag,'0') !='1'
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user