diff --git a/op-modules/op-quality/src/main/resources/QcProCheckMapper.xml b/op-modules/op-quality/src/main/resources/QcProCheckMapper.xml new file mode 100644 index 00000000..8b4e749f --- /dev/null +++ b/op-modules/op-quality/src/main/resources/QcProCheckMapper.xml @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + select id,rfid,factory_id,factory_code,order_id,machine_id,bad_meg,product_id,isqua,isqua,file_id,attr1,attr2, + attr3,attr4,create_by,create_time,update_by,update_time,order_code,machine_code, + workorder_id,workorder_code,workorder_name,product_code + from qc_pro_check + + + + + + + + insert into qc_pro_check + + rfid, + id, + factory_id, + factory_code, + workorder_id, + workorder_code, + workorder_name, + order_id, + order_code, + machine_id, + machine_code, + bad_meg, + product_id, + product_code, + attr1, + attr2, + attr3, + attr4, + create_by, + update_by, + create_time, + update_time, + file_id, + isqua, + + + + #{id}, + #{rfid}, + #{factoryId}, + #{factoryCode}, + #{workorderId}, + #{workorderCode}, + #{workorderName}, + #{orderId}, + #{orderCode}, + #{machineId}, + #{machineCode}, + #{badMeg}, + #{productId}, + #{productCode}, + #{attr1}, + #{attr2}, + #{attr3}, + #{attr4}, + #{createBy}, + #{updateBy}, + #{createTime}, + #{updateTime}, + #{isqua}, + #{fileId}, + + + + + + update qc_pro_check + + #{id}, + #{rfid}, + #{factoryId}, + #{factoryCode}, + #{workorderId}, + #{workorderCode}, + #{workorderName}, + #{orderId}, + #{orderCode}, + #{machineId}, + #{machineCode}, + #{badMeg}, + #{productId}, + #{productCode}, + #{attr1}, + #{attr2}, + #{attr3}, + #{attr4}, + #{createBy}, + #{updateBy}, + #{createTime}, + #{updateTime}, + #{isqua}, + #{fileId}, + + where id = #{id} + + + + delete from qc_pro_check where id = #{id} + + + + diff --git a/op-modules/op-quality/src/main/resources/mapper/QcProCheckMapper.xml b/op-modules/op-quality/src/main/resources/mapper/QcProCheckMapper.xml index 1bd0d7b4..8b4e749f 100644 --- a/op-modules/op-quality/src/main/resources/mapper/QcProCheckMapper.xml +++ b/op-modules/op-quality/src/main/resources/mapper/QcProCheckMapper.xml @@ -53,7 +53,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" insert into qc_pro_check - route_id, + rfid, id, factory_id, factory_code,