zhangzq
5 months ago
8 changed files with 82 additions and 70 deletions
@ -1,33 +1,10 @@ |
|||
<?xml version="1.0" encoding="UTF-8"?> |
|||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
|||
<mapper namespace="org.nl.wms.ext.fab.service.dao.mapper.FabRequestMapper"> |
|||
<insert id="getMesMaterialInfos" parameterType="org.nl.wms.ext.fab.service.dao.FabConsumptionDo"> |
|||
INSERT INTO "LMSTELCOM"."RECEIVE_MUDMATERIEL_OUT"( MSGID, PWORKSCHE_ID, OUT_FINNUM, PRESSUNIT, FBAGCODE, LOGT |
|||
, SENDTIM |
|||
, CREATE_TM, OP_FLAG, SLEEP_TIME) |
|||
VALUES ( #{MSGID}, #{PWORKSCHE_ID}, #{OUT_FINNUM}, #{PRESSUNIT}, #{FBAGCODE}, #{LOGT} |
|||
, #{SENDTIM}, #{CREATE_TM}, #{OP_FLAG}, #{SLEEP_TIME}) |
|||
</insert> |
|||
<insert id="getMesMaterialInfos2" parameterType="org.nl.wms.ext.fab.service.dao.FabConsumptionDo"> |
|||
INSERT INTO "LMSTELCOM"."RECEIVE_R_SEMIPRODUCT"( MSGID, FORDER_NO, PWORKSCHE_ID, FPRODUCT_MATERIAL_ID |
|||
, FPRODUCT_MATERIAL_NAME, FMATSPEC, FMATMODEL, BATCHNO, PRESSUNIT |
|||
, FTEAM, TRAY_NO, PRO_SUBNUM |
|||
, PRO_SUBUNIT, CHECKERIN_TIM, PRODATE, CREATE_TM, OP_FLAG) |
|||
VALUES ( #{MSGID}, #{FORDER_NO}, #{PWORKSCHE_ID} |
|||
, #{FPRODUCT_MATERIAL_ID}, #{FPRODUCT_MATERIAL_NAME}, #{FMATSPEC}, #{FMATMODEL}, #{BATCHNO}, #{PRESSUNIT} |
|||
, #{FTEAM}, #{TRAY_NO}, #{PRO_SUBNUM}, #{PRO_SUBUNIT}, #{CHECKERIN_TIM}, #{PRODATE}, #{CREATE_TM} |
|||
, #{OP_FLAG}) |
|||
</insert> |
|||
<insert id="getMWorkOrderInfos" parameterType="org.nl.wms.ext.fab.service.dao.FabConsumptionDo"> |
|||
INSERT INTO "LMSTELCOM"."RECEIVE_CS_SEMIPROINFO_IN"( MSGID, FORDER_NO, PWORKSCHE_ID, PRESSUNIT, FSCHEDULE_ID |
|||
, FPRODUCT_MATERIAL_ID, FPRODUCT_MATERIAL_NAME, FMATSPEC |
|||
, FMATMODEL, BATCHNO, FTEAM, TRAY_NO, PRO_SUBNUM |
|||
, PRO_SUBUNIT, CHECKERIN_TIM, PRODATE, CREATE_TM, OP_FLAG) |
|||
VALUES ( #{MSGID}, #{FORDER_NO}, #{PWORKSCHE_ID} |
|||
, #{PRESSUNIT}, #{FSCHEDULE_ID}, #{FPRODUCT_MATERIAL_ID}, #{FPRODUCT_MATERIAL_NAME}, #{FMATSPEC} |
|||
, #{FMATMODEL} |
|||
, #{BATCHNO}, #{FTEAM}, #{TRAY_NO}, #{PRO_SUBNUM}, #{PRO_SUBUNIT}, #{CHECKERIN_TIM}, #{PRODATE} |
|||
, #{CREATE_TM} |
|||
, #{OP_FLAG}) |
|||
</insert> |
|||
<select id="getMWorkOrderInfos" resultType="org.nl.wms.ext.fab.service.dao.FabConsumptionDo"> |
|||
SELECT * FROM produktionsaga where AuftragsNr in (#{regionCode}) |
|||
</select> |
|||
<select id="sqlServerConnectionDemo" resultType="java.util.Map"> |
|||
SELECT TOP 10 * FROM produktionsaga; |
|||
</select> |
|||
</mapper> |
|||
|
Loading…
Reference in new issue