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