添加结算打印小票
This commit is contained in:
@@ -2,9 +2,9 @@ spring:
|
||||
profiles:
|
||||
active: hph
|
||||
server:
|
||||
|
||||
servlet:
|
||||
context-path: /cashier-client/
|
||||
port: 10587
|
||||
# 日志配置
|
||||
logging:
|
||||
level:
|
||||
|
||||
@@ -83,4 +83,21 @@
|
||||
amount = #{amount,jdbcType=DECIMAL}
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
|
||||
<select id="selectByDutyId" resultType="java.util.Map">
|
||||
SELECT
|
||||
case type
|
||||
when 'scanCode' then '扫码支付'
|
||||
when 'cash' then '现金支付'
|
||||
when 'wx_lite' then '小程序支付'
|
||||
when 'deposit' then '储值卡支付'
|
||||
when 'bank' then '银行卡支付'
|
||||
end as payType,
|
||||
amount as amount
|
||||
|
||||
FROM
|
||||
tb_shop_user_duty_pay
|
||||
WHERE
|
||||
duty_id = #{dutyId}
|
||||
</select>
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user