From 1a14aef2ddabfdba8264bd083fe2c793d64eb23d Mon Sep 17 00:00:00 2001 From: zhaoxl Date: Fri, 25 Aug 2023 11:49:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=20'op-modules/op-quality/src/main/resources/mapper'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/resources/QcProCheckMapper.xml | 147 ++++++++++++++++++ .../resources/mapper/QcProCheckMapper.xml | 2 +- 2 files changed, 148 insertions(+), 1 deletion(-) create mode 100644 op-modules/op-quality/src/main/resources/QcProCheckMapper.xml 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 000000000..8b4e749f0 --- /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 1bd0d7b4c..8b4e749f0 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,