二维码代码提交
This commit is contained in:
parent
e066ccce92
commit
05e3e10f17
|
|
@ -300,7 +300,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
select * from ma_machine where ma_id = #{maId} and ma_code = #{maCode}
|
||||
</select>
|
||||
<select id="getMachineByQrCode" resultType="com.bonus.sgzb.base.api.domain.MaMachine">
|
||||
select m.ma_id, m.type_id, m.ma_code, m.pre_code, m.ma_status, dic.name maStatusName, m.qr_code, m.buy_price, m.ma_vender, m.out_fac_time, m.out_fac_code,
|
||||
select m.ma_id, m.type_id, m.ma_code, m.pre_code, m.ma_status, dic.name maStatusName, m.qr_code, m.buy_price, msi.supplier as maVender, m.out_fac_time, m.out_fac_code,
|
||||
m.assets_code, m.check_man, m.this_check_time, m.next_check_time, m.gps_code, m.rfid_code, m.erp_code, m.transfer_code,
|
||||
m.in_out_num, m.buy_task, m.own_house ,m.company_id ,mt.type_name specificationType,mt1.type_name deviceType, mt2.type_name itemType,
|
||||
mmb.label_code labelCode,m.inspect_man as inspectMan,m.inspect_status as inspectStatus,m.phone as phone
|
||||
|
|
@ -310,6 +310,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
left join ma_type mt1 on mt.parent_id = mt1.type_id
|
||||
left join ma_type mt2 on mt1.parent_id = mt2.type_id
|
||||
left join ma_label_bind mmb on m.ma_id = mmb.ma_id and m.type_id = mmb.type_id
|
||||
left join ma_supplier_info msi on m.ma_vender = msi.supplier_id
|
||||
where m.qr_code = #{qrCode}
|
||||
</select>
|
||||
<select id="getLeaseProject" resultType="com.bonus.sgzb.base.api.domain.SltAgreementApply">
|
||||
|
|
|
|||
Loading…
Reference in New Issue