Browse Source

Merge remote-tracking branch 'origin/master'

wangzhe 2 years ago
parent
commit
a141817fba

+ 1 - 0
test-api/src/main/java/com/sooka/model/bo/Guiji_funeral1_the_dead_Bean.java

@@ -10,6 +10,7 @@ public class Guiji_funeral1_the_dead_Bean extends BaseBean_Guiji {
 
     String str;
     //逝者姓名
+    String BNO;//业务条码、
     String DNAME;
     //身份证号
     String DSFZH;

+ 0 - 4
test-api/src/main/java/com/sooka/service/impl/Guiji_City_Real_Estate_ServiceImpl.java

@@ -2,17 +2,13 @@ package com.sooka.service.impl;
 
 import com.alibaba.fastjson.JSON;
 import com.alibaba.fastjson.JSONObject;
-import com.sooka.api.Guiji_City_Real_Estate;
 import com.sooka.base.BaseApi;
 import com.sooka.base.BaseService;
 import com.sooka.mapper.Guiji_City_Real_Estate_Mapper;
 import com.sooka.mapper.Guiji_City_Real_Estate_Mapper2;
-import com.sooka.mapper.Guiji_Gas_Mapper;
-import com.sooka.mapper.Guiji_Gas_Mapper2;
 import com.sooka.model.ResultModel;
 import com.sooka.model.bo.*;
 import com.sooka.service.Guiji_City_Real_Estate_Service;
-import com.sooka.service.Guiji_Gas_Service;
 import com.sooka.utils.HttpUtil;
 import org.springframework.stereotype.Service;
 

+ 6 - 6
test-api/src/main/java/com/sooka/service/impl/Guiji_Funeral_ServiceImpl.java

@@ -40,7 +40,7 @@ public class Guiji_Funeral_ServiceImpl extends BaseService implements Guiji_Fune
             System.out.println(Data+"=Data");
             bean.setStr(str);
             bean.setId(Data.getString("ID"));
-
+            bean.setBNO(new String(Base64.decode(Data.getString("BNO")),"UTF-8"));
             bean.setDNAME(new String(Base64.decode(Data.getString("DNAME")),"UTF-8"));
             bean.setDSFZH(new String(Base64.decode(Data.getString("DSFZH")),"UTF-8"));
             bean.setDSEX(new String (Base64.decode(Data.getString("DSEX")),"UTF-8"));
@@ -99,7 +99,7 @@ public class Guiji_Funeral_ServiceImpl extends BaseService implements Guiji_Fune
             JSONObject Data = bean.getData();
             System.out.println(Data+"=Data");
             bean.setStr(str);
-            bean.setId(Data.getString("BNO"));
+            bean.setId(Data.getString("ID"));
             bean.setBNO(Data.getString("BNO"));
             bean.setDNAME(new String (Base64.decode(Data.getString("DNAME")),"UTF-8"));
             bean.setDSEX(Data.getString("DSEX"));
@@ -158,7 +158,7 @@ public class Guiji_Funeral_ServiceImpl extends BaseService implements Guiji_Fune
             JSONObject Data = bean.getData();
             System.out.println(Data+"=Data");
             bean.setStr(str);
-            bean.setId(Data.getString("BNO"));
+            bean.setId(Data.getString("ID"));
             bean.setBNO(Data.getString("BNO"));
             bean.setDNAME(new String (Base64.decode(Data.getString("DNAME")),"UTF-8"));
             bean.setDSEX(Data.getString("DSEX"));
@@ -216,7 +216,7 @@ public class Guiji_Funeral_ServiceImpl extends BaseService implements Guiji_Fune
             JSONObject Data = bean.getData();
             System.out.println(Data+"=Data");
             bean.setStr(str);
-            bean.setId(Data.getString("BNO"));
+            bean.setId(Data.getString("ID"));
             bean.setBNO(Data.getString("BNO"));
             bean.setDNAME(new String (Base64.decode(Data.getString("DNAME")),"UTF-8"));
             bean.setDSEX(Data.getString("DSEX"));
@@ -271,7 +271,7 @@ public class Guiji_Funeral_ServiceImpl extends BaseService implements Guiji_Fune
             JSONObject Data = bean.getData();
             System.out.println(Data+"=Data");
             bean.setStr(str);
-            bean.setId(Data.getString("BNO"));
+            bean.setId(Data.getString("ID"));
             bean.setBNO(Data.getString("BNO"));
             bean.setDNAME(new String (Base64.decode(Data.getString("DNAME")),"UTF-8"));
             bean.setDSEX(Data.getString("DSEX"));
@@ -328,7 +328,7 @@ public class Guiji_Funeral_ServiceImpl extends BaseService implements Guiji_Fune
             JSONObject Data = bean.getData();
             System.out.println(Data+"=Data");
             bean.setStr(str);
-            bean.setId(Data.getString("id"));
+            bean.setId(Data.getString("ID"));
             bean.setBNO(Data.getString("BNO"));
             bean.setDNAME(new String (Base64.decode(Data.getString("DNAME")),"UTF-8"));
             bean.setDSEX(Data.getString("DSEX"));

+ 0 - 2
test-api/src/main/java/com/sooka/service/impl/Guiji_Public_Resource_ServiceImpl.java

@@ -4,8 +4,6 @@ import com.alibaba.fastjson.JSON;
 import com.alibaba.fastjson.JSONObject;
 import com.sooka.base.BaseApi;
 import com.sooka.base.BaseService;
-import com.sooka.mapper.Guiji_City_Real_Estate_Mapper;
-import com.sooka.mapper.Guiji_City_Real_Estate_Mapper2;
 import com.sooka.mapper.Guiji_Public_Resource_Mapper;
 import com.sooka.mapper.Guiji_Public_Resource_Mapper2;
 import com.sooka.model.ResultModel;

+ 1 - 0
test-api/src/main/resources/mapper/Guiji_Funeral_Mapper.xml

@@ -249,6 +249,7 @@
     <insert id="add_guiji_funeral4" parameterType="com.sooka.model.bo.Guiji_funeral4_ashes_storage_Bean">
         insert into t_guiji_funeral_ashes_storage (
         <include refid="global_name"></include>
+        BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, JCGNAME, STARTTM, ENDTM, LINKMAN, LINKMANSFZH, RELATIONSHIP, LINKMANPHONE, OPERTM, OPERID, OPERDW)
         values (
         <include refid="global_value"></include>
         #{BNO}, #{DNAME}, #{DSEX}, #{DAGE}, #{DMZ}, #{DSFZH}, #{ADDRESS}, #{DTIME}, #{JCGNAME}, #{STARTTM}, #{ENDTM}, #{LINKMAN}, #{LINKMANSFZH}, #{RELATIONSHIP}, #{LINKMANPHONE}, #{OPERTM}, #{OPERID}, #{OPERDW})

+ 1 - 0
test-api/src/main/resources/mapper/Guiji_Funeral_Mapper2.xml

@@ -249,6 +249,7 @@
     <insert id="add_guiji_funeral4" parameterType="com.sooka.model.bo.Guiji_funeral4_ashes_storage_Bean">
         insert into t_guiji_funeral_ashes_storage (
         <include refid="global_name"></include>
+        BNO, DNAME, DSEX, DAGE, DMZ, DSFZH, ADDRESS, DTIME, JCGNAME, STARTTM, ENDTM, LINKMAN, LINKMANSFZH, RELATIONSHIP, LINKMANPHONE, OPERTM, OPERID, OPERDW)
         values (
         <include refid="global_value"></include>
         #{BNO}, #{DNAME}, #{DSEX}, #{DAGE}, #{DMZ}, #{DSFZH}, #{ADDRESS}, #{DTIME}, #{JCGNAME}, #{STARTTM}, #{ENDTM}, #{LINKMAN}, #{LINKMANSFZH}, #{RELATIONSHIP}, #{LINKMANPHONE}, #{OPERTM}, #{OPERID}, #{OPERDW})

+ 177 - 0
test-api/src/main/resources/mapper/Guiji_Public_Resource_Mapper.xml

@@ -0,0 +1,177 @@
+<?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="com.sooka.mapper.Guiji_Public_Resource_Mapper">
+
+    <sql id="global_name">
+        id,create_time,cd_time,cd_batch,cd_operation,cd_source,
+    </sql>
+    <sql id="global_value">
+        #{id},now(),#{cd_time},#{cd_batch},#{cd_operation},#{cd_source},
+    </sql>
+
+    <sql id="update_sql">
+        create_time = now(),cd_batch = #{cd_batch},cd_operation = #{cd_operation},cd_source =#{cd_source},
+    </sql>
+
+    <!--市公共资源-招标公告-->
+    <insert id="add_guiji_public_resource_call_for_bid" parameterType="com.sooka.model.bo.Guiji_gas1_Zenner_user_infor_Bean">
+        insert into t_guiji_gas_zenner_user_infor (
+        <include refid="global_name"></include>
+        GUID, VC_UI_CODE, VC_UI_NAME, VC_UI_STATE, VC_UI_ADDR, VC_UI_TEL, VC_UI_IDNO, VC_UI_REMARK, N_UI_BEFOREAMOUNT, N_UI_LASTAMOUNT)
+        values (
+        <include refid="global_value"></include>
+        #{GUID}, #{VC_UI_CODE}, #{VC_UI_NAME}, #{VC_UI_STATE}, #{VC_UI_ADDR}, #{VC_UI_TEL}, #{VC_UI_IDNO} , #{VC_UI_REMARK}, #{N_UI_BEFOREAMOUNT}, #{N_UI_LASTAMOUNT})
+    </insert>
+
+    <update id="update_guiji_public_resource_call_for_bid" parameterType="com.sooka.model.bo.Guiji_gas1_Zenner_user_infor_Bean">
+        update t_guiji_gas_zenner_user_infor
+        <trim prefix="SET" suffixOverrides=",">
+            <include refid="update_sql"></include>
+            <if test="GUID != null and GUID != ''">
+                GUID = #{GUID},
+            </if>
+            <if test="VC_UI_CODE != null and VC_UI_CODE != ''">
+                VC_UI_CODE = #{VC_UI_CODE},
+            </if>
+            <if test="VC_UI_NAME != null and VC_UI_NAME != ''">
+                VC_UI_NAME = #{VC_UI_NAME},
+            </if>
+            <if test="VC_UI_STATE != null and VC_UI_STATE != ''">
+                VC_UI_STATE = #{VC_UI_STATE},
+            </if>
+            <if test="VC_UI_ADDR != null and VC_UI_ADDR != ''">
+                VC_UI_ADDR = #{VC_UI_ADDR},
+            </if>
+            <if test="VC_UI_TEL != null and VC_UI_TEL != ''">
+                VC_UI_TEL = #{VC_UI_TEL},
+            </if>
+            <if test="VC_UI_IDNO != null and VC_UI_IDNO != ''">
+                VC_UI_IDNO = #{VC_UI_IDNO},
+            </if>
+            <if test="VC_UI_REMARK != null and VC_UI_REMARK != ''">
+                VC_UI_REMARK = #{VC_UI_REMARK},
+            </if>
+            <if test="N_UI_BEFOREAMOUNT != null and N_UI_BEFOREAMOUNT != ''">
+                N_UI_BEFOREAMOUNT = #{N_UI_BEFOREAMOUNT},
+            </if>
+            <if test="N_UI_LASTAMOUNT != null and N_UI_LASTAMOUNT != ''">
+                N_UI_LASTAMOUNT = #{N_UI_LASTAMOUNT},
+            </if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <!--市公共资源-变更公告-->
+    <insert id="add_guiji_public_resource_change_the_bid" parameterType="com.sooka.model.bo.Guiji_gas2_Zenner_gas_meter_infor_Bean">
+        insert into t_guiji_gas_zenner_gas_meter_infor (
+        <include refid="global_name"></include>
+        GUID, VC_MI_USERGUID, VC_MI_NO, VC_MI_CARDNO, VC_MI_DIRECTION, VC_MI_TIMA, VC_MI_CHAOBIAO, N_MI_BASECOUNT, N_MI_BASELEAVE, VC_MI_STATE, I_MI_SALECOUNT, I_MI_WLSALECOUNT, I_MI_FILLCARDCOUNT, VC_MI_REMARK, I_MI_REPORTCOUNT, D_MI_CREATETIME)
+        values (
+        <include refid="global_value"></include>
+        #{GUID},#{VC_MI_USERGUID}, #{VC_MI_NO}, #{VC_MI_CARDNO}, #{VC_MI_DIRECTION}, #{VC_MI_TIMA}, #{VC_MI_CHAOBIAO}, #{N_MI_BASECOUNT}, #{N_MI_BASELEAVE}, #{VC_MI_STATE}, #{I_MI_SALECOUNT}, #{I_MI_WLSALECOUNT}, #{I_MI_FILLCARDCOUNT}, #{VC_MI_REMARK}, #{I_MI_REPORTCOUNT}, #{D_MI_CREATETIME})
+    </insert>
+
+    <update id="update_guiji_public_resource_change_the_bid" parameterType="com.sooka.model.bo.Guiji_gas2_Zenner_gas_meter_infor_Bean">
+        update t_guiji_gas_zenner_gas_meter_infor
+        <trim prefix="SET" suffixOverrides=",">
+            <include refid="update_sql"></include>
+            <if test="GUID != null and GUID != ''">
+                GUID = #{GUID},
+            </if>
+            <if test="VC_MI_USERGUID != null and VC_MI_USERGUID != ''">
+                VC_MI_USERGUID = #{VC_MI_USERGUID},
+            </if>
+            <if test="VC_MI_NO != null and VC_MI_NO != ''">
+                VC_MI_NO = #{VC_MI_NO},
+            </if>
+            <if test="VC_MI_CARDNO != null and VC_MI_CARDNO != ''">
+                VC_MI_CARDNO = #{VC_MI_CARDNO},
+            </if>
+            <if test="VC_MI_DIRECTION != null and VC_MI_DIRECTION != ''">
+                VC_MI_DIRECTION = #{VC_MI_DIRECTION},
+            </if>
+            <if test="VC_MI_TIMA != null and VC_MI_TIMA != ''">
+                VC_MI_TIMA = #{VC_MI_TIMA},
+            </if>
+            <if test="VC_MI_CHAOBIAO != null and VC_MI_CHAOBIAO != ''">
+                VC_MI_CHAOBIAO = #{VC_MI_CHAOBIAO},
+            </if>
+            <if test=" != null and N_MI_BASECOUNT != ''">
+                N_MI_BASECOUNT = #{N_MI_BASECOUNT},
+            </if>
+            <if test="N_MI_BASELEAVE != null and N_MI_BASELEAVE != ''">
+                N_MI_BASELEAVE = #{N_MI_BASELEAVE},
+            </if>
+            <if test="VC_MI_STATE != null and VC_MI_STATE != ''">
+                VC_MI_STATE = #{VC_MI_STATE},
+            </if>
+            <if test="I_MI_SALECOUNT != null and I_MI_SALECOUNT != ''">
+                I_MI_SALECOUNT = #{I_MI_SALECOUNT},
+            </if>
+            <if test="I_MI_WLSALECOUNT != null and I_MI_WLSALECOUNT != ''">
+                I_MI_WLSALECOUNT = #{I_MI_WLSALECOUNT},
+            </if>
+            <if test="I_MI_FILLCARDCOUNT != null and I_MI_FILLCARDCOUNT != ''">
+                I_MI_FILLCARDCOUNT = #{I_MI_FILLCARDCOUNT},
+            </if>
+            <if test="VC_MI_REMARK != null and VC_MI_REMARK != ''">
+                VC_MI_REMARK = #{VC_MI_REMARK},
+            </if>
+            <if test="I_MI_REPORTCOUNT != null and I_MI_REPORTCOUNT != ''">
+                I_MI_REPORTCOUNT = #{I_MI_REPORTCOUNT},
+            </if>
+            <if test="D_MI_CREATETIME != null and D_MI_CREATETIME != ''">
+                D_MI_CREATETIME = #{D_MI_CREATETIME},
+            </if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <!--市公共资源-中标公告-->
+    <insert id="add_guiji_public_resource_win_the_bid" parameterType="com.sooka.model.bo.Guiji_gas3_Zenner_gas_purchase_infor_Bean">
+        insert into t_guiji_gas_zenner_gas_purchase_infor (
+        <include refid="global_name"></include>
+        GUID, VC_SG_USERGUID, N_SG_BEFOREAMOUNT, N_SG_SHOULDAMOUNT, N_SG_FACTAMOUNT, N_SG_LASTAMOUNT, VC_SG_IVNO, VC_SG_OPCODE, D_SG_SALEDATE, VC_SG_SALEORBACK)
+        values (
+        <include refid="global_value"></include>
+        #{GUID}, #{VC_SG_USERGUID}, #{N_SG_BEFOREAMOUNT}, #{N_SG_SHOULDAMOUNT}, #{N_SG_FACTAMOUNT}, #{N_SG_LASTAMOUNT}, #{VC_SG_IVNO}, #{VC_SG_OPCODE}, #{D_SG_SALEDATE}, #{VC_SG_SALEORBACK})
+    </insert>
+
+    <update id="update_guiji_public_resource_win_the_bid" parameterType="com.sooka.model.bo.Guiji_gas3_Zenner_gas_purchase_infor_Bean">
+        update t_guiji_gas_zenner_gas_purchase_infor
+        <trim prefix="SET" suffixOverrides=",">
+            <include refid="update_sql"></include>
+            <if test="GUID != null and GUID != ''">
+                GUID = #{GUID},
+            </if>
+            <if test="VC_SG_USERGUID != null and VC_SG_USERGUID != ''">
+                VC_SG_USERGUID = #{VC_SG_USERGUID},
+            </if>
+            <if test="N_SG_BEFOREAMOUNT != null and N_SG_BEFOREAMOUNT != ''">
+                N_SG_BEFOREAMOUNT = #{N_SG_BEFOREAMOUNT},
+            </if>
+            <if test="N_SG_SHOULDAMOUNT != null and N_SG_SHOULDAMOUNT != ''">
+                N_SG_SHOULDAMOUNT = #{N_SG_SHOULDAMOUNT},
+            </if>
+            <if test="N_SG_FACTAMOUNT != null and N_SG_FACTAMOUNT != ''">
+                N_SG_FACTAMOUNT = #{N_SG_FACTAMOUNT},
+            </if>
+            <if test="N_SG_LASTAMOUNT != null and N_SG_LASTAMOUNT != ''">
+                N_SG_LASTAMOUNT = #{N_SG_LASTAMOUNT},
+            </if>
+            <if test="VC_SG_IVNO != null and VC_SG_IVNO != ''">
+                VC_SG_IVNO = #{VC_SG_IVNO},
+            </if>
+            <if test="VC_SG_OPCODE != null and VC_SG_OPCODE != ''">
+                VC_SG_OPCODE = #{VC_SG_OPCODE},
+            </if>
+            <if test="D_SG_SALEDATE != null and D_SG_SALEDATE != ''">
+                D_SG_SALEDATE = #{D_SG_SALEDATE},
+            </if>
+            <if test="VC_SG_SALEORBACK != null and VC_SG_SALEORBACK != ''">
+                VC_SG_SALEORBACK = #{VC_SG_SALEORBACK},
+            </if>
+        </trim>
+        where id = #{id}
+    </update>
+</mapper>

+ 177 - 0
test-api/src/main/resources/mapper/Guiji_Public_Resource_Mapper2.xml

@@ -0,0 +1,177 @@
+<?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="com.sooka.mapper.Guiji_Public_Resource_Mapper2">
+
+    <sql id="global_name">
+        id,create_time,cd_time,cd_batch,cd_operation,cd_source,
+    </sql>
+    <sql id="global_value">
+        #{id},now(),#{cd_time},#{cd_batch},#{cd_operation},#{cd_source},
+    </sql>
+
+    <sql id="update_sql">
+        create_time = now(),cd_batch = #{cd_batch},cd_operation = #{cd_operation},cd_source =#{cd_source},
+    </sql>
+
+    <!--市公共资源-招标公告-->
+    <insert id="add_guiji_public_resource_call_for_bid" parameterType="com.sooka.model.bo.Guiji_gas1_Zenner_user_infor_Bean">
+        insert into t_guiji_gas_zenner_user_infor (
+        <include refid="global_name"></include>
+        GUID, VC_UI_CODE, VC_UI_NAME, VC_UI_STATE, VC_UI_ADDR, VC_UI_TEL, VC_UI_IDNO, VC_UI_REMARK, N_UI_BEFOREAMOUNT, N_UI_LASTAMOUNT)
+        values (
+        <include refid="global_value"></include>
+        #{GUID}, #{VC_UI_CODE}, #{VC_UI_NAME}, #{VC_UI_STATE}, #{VC_UI_ADDR}, #{VC_UI_TEL}, #{VC_UI_IDNO} , #{VC_UI_REMARK}, #{N_UI_BEFOREAMOUNT}, #{N_UI_LASTAMOUNT})
+    </insert>
+
+    <update id="update_guiji_public_resource_call_for_bid" parameterType="com.sooka.model.bo.Guiji_gas1_Zenner_user_infor_Bean">
+        update t_guiji_gas_zenner_user_infor
+        <trim prefix="SET" suffixOverrides=",">
+            <include refid="update_sql"></include>
+            <if test="GUID != null and GUID != ''">
+                GUID = #{GUID},
+            </if>
+            <if test="VC_UI_CODE != null and VC_UI_CODE != ''">
+                VC_UI_CODE = #{VC_UI_CODE},
+            </if>
+            <if test="VC_UI_NAME != null and VC_UI_NAME != ''">
+                VC_UI_NAME = #{VC_UI_NAME},
+            </if>
+            <if test="VC_UI_STATE != null and VC_UI_STATE != ''">
+                VC_UI_STATE = #{VC_UI_STATE},
+            </if>
+            <if test="VC_UI_ADDR != null and VC_UI_ADDR != ''">
+                VC_UI_ADDR = #{VC_UI_ADDR},
+            </if>
+            <if test="VC_UI_TEL != null and VC_UI_TEL != ''">
+                VC_UI_TEL = #{VC_UI_TEL},
+            </if>
+            <if test="VC_UI_IDNO != null and VC_UI_IDNO != ''">
+                VC_UI_IDNO = #{VC_UI_IDNO},
+            </if>
+            <if test="VC_UI_REMARK != null and VC_UI_REMARK != ''">
+                VC_UI_REMARK = #{VC_UI_REMARK},
+            </if>
+            <if test="N_UI_BEFOREAMOUNT != null and N_UI_BEFOREAMOUNT != ''">
+                N_UI_BEFOREAMOUNT = #{N_UI_BEFOREAMOUNT},
+            </if>
+            <if test="N_UI_LASTAMOUNT != null and N_UI_LASTAMOUNT != ''">
+                N_UI_LASTAMOUNT = #{N_UI_LASTAMOUNT},
+            </if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <!--市公共资源-变更公告-->
+    <insert id="add_guiji_public_resource_change_the_bid" parameterType="com.sooka.model.bo.Guiji_gas2_Zenner_gas_meter_infor_Bean">
+        insert into t_guiji_gas_zenner_gas_meter_infor (
+        <include refid="global_name"></include>
+        GUID, VC_MI_USERGUID, VC_MI_NO, VC_MI_CARDNO, VC_MI_DIRECTION, VC_MI_TIMA, VC_MI_CHAOBIAO, N_MI_BASECOUNT, N_MI_BASELEAVE, VC_MI_STATE, I_MI_SALECOUNT, I_MI_WLSALECOUNT, I_MI_FILLCARDCOUNT, VC_MI_REMARK, I_MI_REPORTCOUNT, D_MI_CREATETIME)
+        values (
+        <include refid="global_value"></include>
+        #{GUID},#{VC_MI_USERGUID}, #{VC_MI_NO}, #{VC_MI_CARDNO}, #{VC_MI_DIRECTION}, #{VC_MI_TIMA}, #{VC_MI_CHAOBIAO}, #{N_MI_BASECOUNT}, #{N_MI_BASELEAVE}, #{VC_MI_STATE}, #{I_MI_SALECOUNT}, #{I_MI_WLSALECOUNT}, #{I_MI_FILLCARDCOUNT}, #{VC_MI_REMARK}, #{I_MI_REPORTCOUNT}, #{D_MI_CREATETIME})
+    </insert>
+
+    <update id="update_guiji_public_resource_change_the_bid" parameterType="com.sooka.model.bo.Guiji_gas2_Zenner_gas_meter_infor_Bean">
+        update t_guiji_gas_zenner_gas_meter_infor
+        <trim prefix="SET" suffixOverrides=",">
+            <include refid="update_sql"></include>
+            <if test="GUID != null and GUID != ''">
+                GUID = #{GUID},
+            </if>
+            <if test="VC_MI_USERGUID != null and VC_MI_USERGUID != ''">
+                VC_MI_USERGUID = #{VC_MI_USERGUID},
+            </if>
+            <if test="VC_MI_NO != null and VC_MI_NO != ''">
+                VC_MI_NO = #{VC_MI_NO},
+            </if>
+            <if test="VC_MI_CARDNO != null and VC_MI_CARDNO != ''">
+                VC_MI_CARDNO = #{VC_MI_CARDNO},
+            </if>
+            <if test="VC_MI_DIRECTION != null and VC_MI_DIRECTION != ''">
+                VC_MI_DIRECTION = #{VC_MI_DIRECTION},
+            </if>
+            <if test="VC_MI_TIMA != null and VC_MI_TIMA != ''">
+                VC_MI_TIMA = #{VC_MI_TIMA},
+            </if>
+            <if test="VC_MI_CHAOBIAO != null and VC_MI_CHAOBIAO != ''">
+                VC_MI_CHAOBIAO = #{VC_MI_CHAOBIAO},
+            </if>
+            <if test=" != null and N_MI_BASECOUNT != ''">
+                N_MI_BASECOUNT = #{N_MI_BASECOUNT},
+            </if>
+            <if test="N_MI_BASELEAVE != null and N_MI_BASELEAVE != ''">
+                N_MI_BASELEAVE = #{N_MI_BASELEAVE},
+            </if>
+            <if test="VC_MI_STATE != null and VC_MI_STATE != ''">
+                VC_MI_STATE = #{VC_MI_STATE},
+            </if>
+            <if test="I_MI_SALECOUNT != null and I_MI_SALECOUNT != ''">
+                I_MI_SALECOUNT = #{I_MI_SALECOUNT},
+            </if>
+            <if test="I_MI_WLSALECOUNT != null and I_MI_WLSALECOUNT != ''">
+                I_MI_WLSALECOUNT = #{I_MI_WLSALECOUNT},
+            </if>
+            <if test="I_MI_FILLCARDCOUNT != null and I_MI_FILLCARDCOUNT != ''">
+                I_MI_FILLCARDCOUNT = #{I_MI_FILLCARDCOUNT},
+            </if>
+            <if test="VC_MI_REMARK != null and VC_MI_REMARK != ''">
+                VC_MI_REMARK = #{VC_MI_REMARK},
+            </if>
+            <if test="I_MI_REPORTCOUNT != null and I_MI_REPORTCOUNT != ''">
+                I_MI_REPORTCOUNT = #{I_MI_REPORTCOUNT},
+            </if>
+            <if test="D_MI_CREATETIME != null and D_MI_CREATETIME != ''">
+                D_MI_CREATETIME = #{D_MI_CREATETIME},
+            </if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <!--市公共资源-中标公告-->
+    <insert id="add_guiji_public_resource_win_the_bid" parameterType="com.sooka.model.bo.Guiji_gas3_Zenner_gas_purchase_infor_Bean">
+        insert into t_guiji_gas_zenner_gas_purchase_infor (
+        <include refid="global_name"></include>
+        GUID, VC_SG_USERGUID, N_SG_BEFOREAMOUNT, N_SG_SHOULDAMOUNT, N_SG_FACTAMOUNT, N_SG_LASTAMOUNT, VC_SG_IVNO, VC_SG_OPCODE, D_SG_SALEDATE, VC_SG_SALEORBACK)
+        values (
+        <include refid="global_value"></include>
+        #{GUID}, #{VC_SG_USERGUID}, #{N_SG_BEFOREAMOUNT}, #{N_SG_SHOULDAMOUNT}, #{N_SG_FACTAMOUNT}, #{N_SG_LASTAMOUNT}, #{VC_SG_IVNO}, #{VC_SG_OPCODE}, #{D_SG_SALEDATE}, #{VC_SG_SALEORBACK})
+    </insert>
+
+    <update id="update_guiji_public_resource_win_the_bid" parameterType="com.sooka.model.bo.Guiji_gas3_Zenner_gas_purchase_infor_Bean">
+        update t_guiji_gas_zenner_gas_purchase_infor
+        <trim prefix="SET" suffixOverrides=",">
+            <include refid="update_sql"></include>
+            <if test="GUID != null and GUID != ''">
+                GUID = #{GUID},
+            </if>
+            <if test="VC_SG_USERGUID != null and VC_SG_USERGUID != ''">
+                VC_SG_USERGUID = #{VC_SG_USERGUID},
+            </if>
+            <if test="N_SG_BEFOREAMOUNT != null and N_SG_BEFOREAMOUNT != ''">
+                N_SG_BEFOREAMOUNT = #{N_SG_BEFOREAMOUNT},
+            </if>
+            <if test="N_SG_SHOULDAMOUNT != null and N_SG_SHOULDAMOUNT != ''">
+                N_SG_SHOULDAMOUNT = #{N_SG_SHOULDAMOUNT},
+            </if>
+            <if test="N_SG_FACTAMOUNT != null and N_SG_FACTAMOUNT != ''">
+                N_SG_FACTAMOUNT = #{N_SG_FACTAMOUNT},
+            </if>
+            <if test="N_SG_LASTAMOUNT != null and N_SG_LASTAMOUNT != ''">
+                N_SG_LASTAMOUNT = #{N_SG_LASTAMOUNT},
+            </if>
+            <if test="VC_SG_IVNO != null and VC_SG_IVNO != ''">
+                VC_SG_IVNO = #{VC_SG_IVNO},
+            </if>
+            <if test="VC_SG_OPCODE != null and VC_SG_OPCODE != ''">
+                VC_SG_OPCODE = #{VC_SG_OPCODE},
+            </if>
+            <if test="D_SG_SALEDATE != null and D_SG_SALEDATE != ''">
+                D_SG_SALEDATE = #{D_SG_SALEDATE},
+            </if>
+            <if test="VC_SG_SALEORBACK != null and VC_SG_SALEORBACK != ''">
+                VC_SG_SALEORBACK = #{VC_SG_SALEORBACK},
+            </if>
+        </trim>
+        where id = #{id}
+    </update>
+</mapper>