|
@@ -317,35 +317,32 @@
|
|
|
|
|
|
<!--秦川业务系统-->
|
|
|
<insert id="add_guiji_gas_qinchuan_user_infor" parameterType="com.sooka.model.bo.Guiji_gas9_qinchuan_user_infor_Bean">
|
|
|
- insert into t_guiji_medicine_plant (
|
|
|
+ insert into t_guiji_gas_qinchuan_user_infor (
|
|
|
<include refid="global_name"></include>
|
|
|
- plantName, plantAddress, plantHectare, produceTons, produceValue, plantYear)
|
|
|
+ C_UserName, C_Telphone, C_AddrInfo, C_Ye, C_PayCode)
|
|
|
values (
|
|
|
<include refid="global_value"></include>
|
|
|
- #{plantName}, #{plantAddress}, #{plantHectare}, #{produceTons}, #{produceValue}, #{plantYear})
|
|
|
+ #{C_UserName}, #{C_Telphone}, #{C_AddrInfo}, #{C_Ye}, #{C_PayCode})
|
|
|
</insert>
|
|
|
|
|
|
<update id="update_guiji_gas_qinchuan_user_infor" parameterType="com.sooka.model.bo.Guiji_gas9_qinchuan_user_infor_Bean">
|
|
|
- update t_guiji_medicine_plant
|
|
|
+ update t_guiji_gas_qinchuan_user_infor
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<include refid="update_sql"></include>
|
|
|
- <if test="plantName != null and plantName != ''">
|
|
|
- plantName = #{plantName},
|
|
|
+ <if test="C_UserName != null and C_UserName != ''">
|
|
|
+ C_UserName = #{C_UserName},
|
|
|
</if>
|
|
|
- <if test="plantAddress != null and plantAddress != ''">
|
|
|
- plantAddress = #{plantAddress},
|
|
|
+ <if test="C_Telphone != null and C_Telphone != ''">
|
|
|
+ C_Telphone = #{C_Telphone},
|
|
|
</if>
|
|
|
- <if test="plantHectare != null and plantHectare != ''">
|
|
|
- plantHectare = #{plantHectare},
|
|
|
+ <if test="C_AddrInfo != null and C_AddrInfo != ''">
|
|
|
+ C_AddrInfo = #{C_AddrInfo},
|
|
|
</if>
|
|
|
- <if test="produceTons != null and produceTons != ''">
|
|
|
- produceTons = #{produceTons},
|
|
|
+ <if test="C_Ye != null and C_Ye != ''">
|
|
|
+ C_Ye = #{C_Ye},
|
|
|
</if>
|
|
|
- <if test="produceValue != null and produceValue != ''">
|
|
|
- produceValue = #{produceValue},
|
|
|
- </if>
|
|
|
- <if test="plantYear != null and plantYear != ''">
|
|
|
- plantYear = #{plantYear},
|
|
|
+ <if test="C_PayCode != null and C_PayCode != ''">
|
|
|
+ C_PayCode = #{C_PayCode},
|
|
|
</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
@@ -505,35 +502,29 @@
|
|
|
|
|
|
<!--鑫科客户系统-->
|
|
|
<insert id="add_guiji_gas_XinKer_user_infor" parameterType="com.sooka.model.bo.Guiji_gas14_XinKer_user_infor_Bean">
|
|
|
- insert into t_guiji_medicine_plant (
|
|
|
+ insert into t_guiji_gas_xinker_user_infor (
|
|
|
<include refid="global_name"></include>
|
|
|
- plantName, plantAddress, plantHectare, produceTons, produceValue, plantYear)
|
|
|
+ Name, Sex, Phone, Address)
|
|
|
values (
|
|
|
<include refid="global_value"></include>
|
|
|
- #{plantName}, #{plantAddress}, #{plantHectare}, #{produceTons}, #{produceValue}, #{plantYear})
|
|
|
+ #{Name}, #{Sex}, #{Phone}, #{Address})
|
|
|
</insert>
|
|
|
|
|
|
<update id="update_guiji_gas_XinKer_user_infor" parameterType="com.sooka.model.bo.Guiji_gas14_XinKer_user_infor_Bean">
|
|
|
- update t_guiji_medicine_plant
|
|
|
+ update t_guiji_gas_xinker_user_infor
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<include refid="update_sql"></include>
|
|
|
- <if test="plantName != null and plantName != ''">
|
|
|
- plantName = #{plantName},
|
|
|
- </if>
|
|
|
- <if test="plantAddress != null and plantAddress != ''">
|
|
|
- plantAddress = #{plantAddress},
|
|
|
- </if>
|
|
|
- <if test="plantHectare != null and plantHectare != ''">
|
|
|
- plantHectare = #{plantHectare},
|
|
|
+ <if test="Name != null and Name != ''">
|
|
|
+ Name = #{Name},
|
|
|
</if>
|
|
|
- <if test="produceTons != null and produceTons != ''">
|
|
|
- produceTons = #{produceTons},
|
|
|
+ <if test="Sex != null and Sex != ''">
|
|
|
+ Sex = #{Sex},
|
|
|
</if>
|
|
|
- <if test="produceValue != null and produceValue != ''">
|
|
|
- produceValue = #{produceValue},
|
|
|
+ <if test="Phone != null and Phone != ''">
|
|
|
+ Phone = #{Phone},
|
|
|
</if>
|
|
|
- <if test="plantYear != null and plantYear != ''">
|
|
|
- plantYear = #{plantYear},
|
|
|
+ <if test="Address != null and Address != ''">
|
|
|
+ Address = #{Address},
|
|
|
</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
@@ -541,38 +532,41 @@
|
|
|
|
|
|
|
|
|
<insert id="add_guiji_gas_XinKer_acceptance_infor" parameterType="com.sooka.model.bo.Guiji_gas15_XinKer_acceptance_infor_Bean">
|
|
|
- insert into t_guiji_medicine_platform (
|
|
|
+ insert into t_guiji_gas_xinker_acceptance_infor (
|
|
|
<include refid="global_name"></include>
|
|
|
- platformName, constructingUnit, constructingDate, platformAddress, platformAddressExt, platformLevel, platformType)
|
|
|
+ Number, Datetime, Acceptor, Information, TaskType, BusinessType, DetailedInformation, Content)
|
|
|
values (
|
|
|
<include refid="global_value"></include>
|
|
|
- #{platformName}, #{constructingUnit}, #{constructingDate}, #{platformAddress}, #{platformAddressExt}, #{platformLevel}, #{platformType})
|
|
|
+ #{Number}, #{Datetime}, #{Acceptor}, #{Information}, #{TaskType}, #{BusinessType}, #{DetailedInformation}, #{Content})
|
|
|
</insert>
|
|
|
|
|
|
<update id="update_guiji_gas_XinKer_acceptance_infor" parameterType="com.sooka.model.bo.Guiji_gas15_XinKer_acceptance_infor_Bean">
|
|
|
- update t_guiji_medicine_platform
|
|
|
+ update t_guiji_gas_xinker_acceptance_infor
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<include refid="update_sql"></include>
|
|
|
- <if test="platformName != null and platformName != ''">
|
|
|
- platformName = #{platformName},
|
|
|
+ <if test="Number != null and Number != ''">
|
|
|
+ Number = #{Number},
|
|
|
</if>
|
|
|
- <if test="constructingUnit != null and constructingUnit != ''">
|
|
|
- constructingUnit = #{constructingUnit},
|
|
|
+ <if test="Datetime != null and Datetime != ''">
|
|
|
+ Datetime = #{Datetime},
|
|
|
</if>
|
|
|
- <if test="constructingDate != null and constructingDate != ''">
|
|
|
- constructingDate = #{constructingDate},
|
|
|
+ <if test="Acceptor != null and Acceptor != ''">
|
|
|
+ Acceptor = #{Acceptor},
|
|
|
</if>
|
|
|
- <if test="platformAddress != null and platformAddress != ''">
|
|
|
- platformAddress = #{platformAddress},
|
|
|
+ <if test="Information != null and Information != ''">
|
|
|
+ Information = #{Information},
|
|
|
</if>
|
|
|
- <if test="platformAddressExt != null and platformAddressExt != ''">
|
|
|
- platformAddressExt = #{platformAddressExt},
|
|
|
+ <if test="TaskType != null and TaskType != ''">
|
|
|
+ TaskType = #{TaskType},
|
|
|
</if>
|
|
|
- <if test="platformLevel != null and platformLevel != ''">
|
|
|
- platformLevel = #{platformLevel},
|
|
|
+ <if test="BusinessType != null and BusinessType != ''">
|
|
|
+ BusinessType = #{BusinessType},
|
|
|
</if>
|
|
|
- <if test="platformType != null and platformType != ''">
|
|
|
- platformType = #{platformType},
|
|
|
+ <if test="DetailedInformation != null and DetailedInformation != ''">
|
|
|
+ DetailedInformation = #{DetailedInformation},
|
|
|
+ </if>
|
|
|
+ <if test="Content != null and Content != ''">
|
|
|
+ Content = #{Content},
|
|
|
</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|
|
@@ -580,38 +574,32 @@
|
|
|
|
|
|
|
|
|
<insert id="add_guiji_gas_XinKer_disposition_info" parameterType="com.sooka.model.bo.Guiji_gas16_XinKer_disposition_info_Bean">
|
|
|
- insert into t_guiji_medicine_project (
|
|
|
+ insert into t_guiji_gas_xinker_disposition_info (
|
|
|
<include refid="global_name"></include>
|
|
|
- projectName, projectOrgName, projectAddress, projectStatus, projectTotalInvestment, projectStart, projectEnd)
|
|
|
+ ClerkOrdering, DateTime, Worker, ResultCode, Content)
|
|
|
values (
|
|
|
<include refid="global_value"></include>
|
|
|
- #{projectName}, #{projectOrgName}, #{projectAddress}, #{projectStatus}, #{projectTotalInvestment}, #{projectStart}, #{projectEnd})
|
|
|
+ #{ClerkOrdering}, #{DateTime}, #{Worker}, #{ResultCode}, #{Content})
|
|
|
</insert>
|
|
|
|
|
|
<update id="update_guiji_gas_XinKer_disposition_info" parameterType="com.sooka.model.bo.Guiji_gas16_XinKer_disposition_info_Bean">
|
|
|
- update t_guiji_medicine_project
|
|
|
+ update t_guiji_gas_xinker_disposition_info
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<include refid="update_sql"></include>
|
|
|
- <if test="projectName != null and projectName != ''">
|
|
|
- projectName = #{projectName},
|
|
|
- </if>
|
|
|
- <if test="projectOrgName != null and projectOrgName != ''">
|
|
|
- projectOrgName = #{projectOrgName},
|
|
|
- </if>
|
|
|
- <if test="projectAddress != null and projectAddress != ''">
|
|
|
- projectAddress = #{projectAddress},
|
|
|
+ <if test="ClerkOrdering != null and ClerkOrdering != ''">
|
|
|
+ ClerkOrdering = #{ClerkOrdering},
|
|
|
</if>
|
|
|
- <if test="projectStatus != null and projectStatus != ''">
|
|
|
- projectStatus = #{projectStatus},
|
|
|
+ <if test="DateTime != null and DateTime != ''">
|
|
|
+ DateTime = #{DateTime},
|
|
|
</if>
|
|
|
- <if test="projectTotalInvestment != null and projectTotalInvestment != ''">
|
|
|
- projectTotalInvestment = #{projectTotalInvestment},
|
|
|
+ <if test="Worker != null and Worker != ''">
|
|
|
+ Worker = #{Worker},
|
|
|
</if>
|
|
|
- <if test="projectStart != null and projectStart != ''">
|
|
|
- projectStart = #{projectStart},
|
|
|
+ <if test="ResultCode != null and ResultCode != ''">
|
|
|
+ ResultCode = #{ResultCode},
|
|
|
</if>
|
|
|
- <if test="projectEnd != null and projectEnd != ''">
|
|
|
- projectEnd = #{projectEnd},
|
|
|
+ <if test="Content != null and Content != ''">
|
|
|
+ Content = #{Content},
|
|
|
</if>
|
|
|
</trim>
|
|
|
where id = #{id}
|