二维码退料问题
This commit is contained in:
parent
afa141b7c6
commit
92200848f0
|
|
@ -787,11 +787,12 @@
|
||||||
sd.id as sdId
|
sd.id as sdId
|
||||||
FROM
|
FROM
|
||||||
ma_machine mm
|
ma_machine mm
|
||||||
|
LEFT JOIN slt_agreement_info sai on mm.type_id = sai.type_id and mm.ma_id = sai.ma_id
|
||||||
LEFT JOIN ma_type mt on mt.type_id=mm.type_id
|
LEFT JOIN ma_type mt on mt.type_id=mm.type_id
|
||||||
LEFT JOIN ma_type mt2 on mt2.type_id=mt.parent_id
|
LEFT JOIN ma_type mt2 on mt2.type_id=mt.parent_id
|
||||||
LEFT JOIN sys_dic sd on mm.ma_status=sd.id
|
LEFT JOIN sys_dic sd on mm.ma_status=sd.id
|
||||||
WHERE
|
WHERE
|
||||||
qr_code =#{qrCode}
|
mm.qr_code =#{qrCode} and sai.agreement_id = #{agreementId}
|
||||||
</select>
|
</select>
|
||||||
<select id="backReceiveRecord" resultType="com.bonus.sgzb.app.domain.BackApplyInfo">
|
<select id="backReceiveRecord" resultType="com.bonus.sgzb.app.domain.BackApplyInfo">
|
||||||
SELECT
|
SELECT
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue