交班打印数据统计问题修复
This commit is contained in:
parent
aec5bfb59a
commit
f361247071
|
|
@ -112,7 +112,7 @@ public class HandoverRecordController {
|
|||
* @param id 交班记录id
|
||||
*/
|
||||
@PostMapping("/network/print/{id}")
|
||||
@OperationLog("收银机-交班/关班")
|
||||
@OperationLog("收银机-交班/关班-网络打印机打印交班小票")
|
||||
@SaStaffCheckPermission("yun_xu_cha_kan_suo_you_jiao_ban_ji_lu")
|
||||
//@SaAdminCheckPermission("handoverRecord:networkPrint")
|
||||
public CzgResult<Void> handover(@PathVariable Long id) {
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@
|
|||
FROM tb_order_info t1
|
||||
<where>
|
||||
<include refid="handoverCommonWhere"/>
|
||||
and t1.pay_type = 'cash-pay'
|
||||
and t1.pay_type = 'cash_pay'
|
||||
</where>
|
||||
</select>
|
||||
<select id="getHandoverRefundAmount" resultType="java.math.BigDecimal">
|
||||
|
|
@ -88,7 +88,7 @@
|
|||
FROM tb_order_info t1
|
||||
<where>
|
||||
<include refid="handoverCommonWhere"/>
|
||||
and t1.pay_type = 'wechat-mini'
|
||||
and t1.pay_type = 'wechat_mini'
|
||||
</where>
|
||||
</select>
|
||||
<select id="getHandoverAlipayAmount" resultType="java.math.BigDecimal">
|
||||
|
|
@ -97,7 +97,7 @@
|
|||
FROM tb_order_info t1
|
||||
<where>
|
||||
<include refid="handoverCommonWhere"/>
|
||||
and t1.pay_type = 'alipay-mini'
|
||||
and t1.pay_type = 'alipay_mini'
|
||||
</where>
|
||||
</select>
|
||||
<select id="getHandoverVipPayAmount" resultType="java.math.BigDecimal">
|
||||
|
|
@ -106,7 +106,7 @@
|
|||
FROM tb_order_info t1
|
||||
<where>
|
||||
<include refid="handoverCommonWhere"/>
|
||||
and t1.pay_type = 'vip-pay'
|
||||
and t1.pay_type = 'vip_pay'
|
||||
</where>
|
||||
</select>
|
||||
<select id="getHandoverVipChargeAmount" resultType="java.math.BigDecimal">
|
||||
|
|
@ -126,7 +126,7 @@
|
|||
FROM tb_order_info t1
|
||||
<where>
|
||||
<include refid="handoverCommonWhere"/>
|
||||
and t1.pay_type in ('main-scan','back-scan')
|
||||
and t1.pay_type in ('main_scan','back_scan')
|
||||
</where>
|
||||
</select>
|
||||
<select id="getHandoverCategoryList" resultType="com.czg.account.vo.HandoverCategoryListVo">
|
||||
|
|
@ -150,7 +150,7 @@
|
|||
FROM tb_order_info t1
|
||||
<where>
|
||||
<include refid="handoverCommonWhere"/>
|
||||
and t1.pay_type = 'credit-pay'
|
||||
and t1.pay_type = 'credit_pay'
|
||||
</where>
|
||||
</select>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue