Commit 98fe229c by liuyang

2024-10-08 新增返回ID

parent a419e009
...@@ -198,7 +198,12 @@ ...@@ -198,7 +198,12 @@
COMPETE_USER, <!-- 竞争对手 --> COMPETE_USER, <!-- 竞争对手 -->
SURVEY_USER <!-- 调查人员 --> SURVEY_USER <!-- 调查人员 -->
) )
VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #surveyDate#, #district#, #policyEnv#, #economyEnv#, #sociCultureEnv#, #supplier#, #competeUser#, #surveyUser#) VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#,
#updatedTime#, #deleteFlag#, #surveyDate#, #district#, #policyEnv#, #economyEnv#, #sociCultureEnv#, #supplier#,
#competeUser#, #surveyUser#)
<selectKey resultClass="java.lang.Long" keyProperty="id" >
SELECT MAX(ID) AS "id" FROM ${hpjxSchema}.T_HPYX001
</selectKey>
</insert> </insert>
<delete id="delete"> <delete id="delete">
......
...@@ -189,7 +189,12 @@ ...@@ -189,7 +189,12 @@
BUY_PRODUCTS, <!-- 经常购买产品 --> BUY_PRODUCTS, <!-- 经常购买产品 -->
SURVEY_USER <!-- 调查人员 --> SURVEY_USER <!-- 调查人员 -->
) )
VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #surveyDate#, #district#, #client#, #buyMotive#, #buyAmount#, #buyProducts#, #surveyUser#) VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#,
#updatedTime#, #deleteFlag#, #surveyDate#, #district#, #client#, #buyMotive#, #buyAmount#, #buyProducts#,
#surveyUser#)
<selectKey resultClass="java.lang.Long" keyProperty="id" >
SELECT MAX(ID) AS "id" FROM ${hpjxSchema}.T_HPYX002
</selectKey>
</insert> </insert>
<delete id="delete"> <delete id="delete">
......
...@@ -189,7 +189,12 @@ ...@@ -189,7 +189,12 @@
QUALITY, <!-- 质量 --> QUALITY, <!-- 质量 -->
SURVEY_USER <!-- 调查人员 --> SURVEY_USER <!-- 调查人员 -->
) )
VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #surveyDate#, #district#, #productName#, #quantity#, #price#, #quality#, #surveyUser#) VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#,
#updatedTime#, #deleteFlag#, #surveyDate#, #district#, #productName#, #quantity#, #price#, #quality#,
#surveyUser#)
<selectKey resultClass="java.lang.Long" keyProperty="id" >
SELECT MAX(ID) AS "id" FROM ${hpjxSchema}.T_HPYX003
</selectKey>
</insert> </insert>
<delete id="delete"> <delete id="delete">
......
...@@ -189,7 +189,12 @@ ...@@ -189,7 +189,12 @@
PROMO_METHOD_GOOD_BAD, <!-- 促销方式优劣势 --> PROMO_METHOD_GOOD_BAD, <!-- 促销方式优劣势 -->
SURVEY_USER <!-- 调查人员 --> SURVEY_USER <!-- 调查人员 -->
) )
VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #surveyDate#, #district#, #productGoodBad#, #priceGoodBad#, #channelEffect#, #promoMethodGoodBad#, #surveyUser#) VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#,
#updatedTime#, #deleteFlag#, #surveyDate#, #district#, #productGoodBad#, #priceGoodBad#, #channelEffect#,
#promoMethodGoodBad#, #surveyUser#)
<selectKey resultClass="java.lang.Long" keyProperty="id" >
SELECT MAX(ID) AS "id" FROM ${hpjxSchema}.T_HPYX004
</selectKey>
</insert> </insert>
<delete id="delete"> <delete id="delete">
......
...@@ -190,6 +190,9 @@ ...@@ -190,6 +190,9 @@
VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#,
#updatedTime#, #deleteFlag#, #productCode#, #productName#, #productModel#, #quantity#, #price#, #productCost#, #amount#, #updatedTime#, #deleteFlag#, #productCode#, #productName#, #productModel#, #quantity#, #price#, #productCost#, #amount#,
#parentId#) #parentId#)
<selectKey resultClass="java.lang.Long" keyProperty="id" >
SELECT MAX(ID) AS "id" FROM ${hpjxSchema}.T_HPYX005A
</selectKey>
</insert> </insert>
<!-- 批量写入 --> <!-- 批量写入 -->
......
...@@ -198,7 +198,12 @@ ...@@ -198,7 +198,12 @@
DIS_WAY, <!-- 折扣策略 --> DIS_WAY, <!-- 折扣策略 -->
PRODUCT_INVENT <!-- 产品库存 --> PRODUCT_INVENT <!-- 产品库存 -->
) )
VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #productCode#, #productName#, #productType#, #productPecu#, #productGood#, #productPrice#, #disWay#, #productInvent#) VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#,
#updatedTime#, #deleteFlag#, #productCode#, #productName#, #productType#, #productPecu#, #productGood#,
#productPrice#, #disWay#, #productInvent#)
<selectKey resultClass="java.lang.Long" keyProperty="id" >
SELECT MAX(ID) AS "id" FROM ${hpjxSchema}.T_HPYX006
</selectKey>
</insert> </insert>
<delete id="delete"> <delete id="delete">
......
...@@ -171,7 +171,11 @@ ...@@ -171,7 +171,11 @@
TAR_MARKET, <!-- 目标市场 --> TAR_MARKET, <!-- 目标市场 -->
BUS_PART <!-- 合作伙伴 --> BUS_PART <!-- 合作伙伴 -->
) )
VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #channelCode#, #channelName#, #coverDist#, #tarMarket#, #busPart#) VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#,
#updatedTime#, #deleteFlag#, #channelCode#, #channelName#, #coverDist#, #tarMarket#, #busPart#)
<selectKey resultClass="java.lang.Long" keyProperty="id" >
SELECT MAX(ID) AS "id" FROM ${hpjxSchema}.T_HPYX007
</selectKey>
</insert> </insert>
<delete id="delete"> <delete id="delete">
......
...@@ -189,7 +189,11 @@ ...@@ -189,7 +189,11 @@
SPECIALITY, <!-- 专长 --> SPECIALITY, <!-- 专长 -->
WORK_EXPE <!-- 工作经历 --> WORK_EXPE <!-- 工作经历 -->
) )
VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #name#, #position#, #degree#, #profes#, #skill#, #speciality#, #workExpe#) VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#,
#updatedTime#, #deleteFlag#, #name#, #position#, #degree#, #profes#, #skill#, #speciality#, #workExpe#)
<selectKey resultClass="java.lang.Long" keyProperty="id" >
SELECT MAX(ID) AS "id" FROM ${hpjxSchema}.T_HPYX008
</selectKey>
</insert> </insert>
<delete id="delete"> <delete id="delete">
......
...@@ -162,7 +162,11 @@ ...@@ -162,7 +162,11 @@
DIST_SITUA, <!-- 分配情况 --> DIST_SITUA, <!-- 分配情况 -->
ACTUAL_EXPE <!-- 实际支出 --> ACTUAL_EXPE <!-- 实际支出 -->
) )
VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #budget#, #sourceFunds#, #distSitua#, #actualExpe#) VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#,
#updatedTime#, #deleteFlag#, #budget#, #sourceFunds#, #distSitua#, #actualExpe#)
<selectKey resultClass="java.lang.Long" keyProperty="id" >
SELECT MAX(ID) AS "id" FROM ${hpjxSchema}.T_HPYX009
</selectKey>
</insert> </insert>
<delete id="delete"> <delete id="delete">
......
...@@ -221,7 +221,12 @@ ...@@ -221,7 +221,12 @@
ACTUAL_CODE, <!-- 实际成本 --> ACTUAL_CODE, <!-- 实际成本 -->
ACTUAL_TRAN <!-- 实际转化率 --> ACTUAL_TRAN <!-- 实际转化率 -->
) )
VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #sellDate#, #sourceFunds#, #district#, #content#, #promChannel#, #goalMarket#, #goalAmount#, #goalTran#, #budget#, #actualCode#, #actualTran#) VALUES (#id#, #companyCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#,
#updatedTime#, #deleteFlag#, #sellDate#, #sourceFunds#, #district#, #content#, #promChannel#, #goalMarket#,
#goalAmount#, #goalTran#, #budget#, #actualCode#, #actualTran#)
<selectKey resultClass="java.lang.Long" keyProperty="id" >
SELECT MAX(ID) AS "id" FROM ${hpjxSchema}.T_HPYX010
</selectKey>
</insert> </insert>
<delete id="delete"> <delete id="delete">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment