Showing
18 changed files
with
1314 additions
and
34 deletions
| ... | @@ -2,6 +2,6 @@ package com.fedex.connect.base.autoconfiguration; | ... | @@ -2,6 +2,6 @@ package com.fedex.connect.base.autoconfiguration; |
| 2 | 2 | ||
| 3 | import org.springframework.context.annotation.ComponentScan; | 3 | import org.springframework.context.annotation.ComponentScan; |
| 4 | 4 | ||
| 5 | -@ComponentScan(value = {"com.fedex.base"}) | 5 | +@ComponentScan(value = {"com.fedex.connect.base"}) |
| 6 | public class AutoConfiguration { | 6 | public class AutoConfiguration { |
| 7 | } | 7 | } | ... | ... |
| 1 | -org.springframework.boot.autoconfigure.EnableAutoConfiguration=com.fedex.base.autoconfiguration.AutoConfiguration | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +org.springframework.boot.autoconfigure.EnableAutoConfiguration=com.fedex.connect.base.autoconfiguration.AutoConfiguration | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| 1 | +package com.fedex.connect.customer; | ||
| 2 | + | ||
| 3 | +import org.mybatis.spring.annotation.MapperScan; | ||
| 4 | +import org.springframework.boot.SpringApplication; | ||
| 5 | +import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
| 6 | +import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; | ||
| 7 | +import org.springframework.boot.builder.SpringApplicationBuilder; | ||
| 8 | +import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; | ||
| 9 | +import org.springframework.transaction.annotation.EnableTransactionManagement; | ||
| 10 | +import org.springframework.web.WebApplicationInitializer; | ||
| 11 | +import springfox.documentation.swagger2.annotations.EnableSwagger2; | ||
| 12 | + | ||
| 13 | +@SpringBootApplication(exclude = SecurityAutoConfiguration.class) | ||
| 14 | +@MapperScan({"com.fedex.connect.common.dao.*.**","com.fedex.connect.customer.repository.dao.*"}) | ||
| 15 | +@EnableTransactionManagement | ||
| 16 | +@EnableSwagger2 | ||
| 17 | +public class CustomerApplication extends SpringBootServletInitializer implements WebApplicationInitializer { | ||
| 18 | + public static void main(String[] args) { | ||
| 19 | + SpringApplication.run(CustomerApplication.class, args); | ||
| 20 | + } | ||
| 21 | + | ||
| 22 | + @Override | ||
| 23 | + protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { | ||
| 24 | + return builder.sources(CustomerApplication.class); | ||
| 25 | + } | ||
| 26 | +} |
| 1 | -package com.fedex.connect.common.customer; | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -83,23 +83,23 @@ | ... | @@ -83,23 +83,23 @@ |
| 83 | </dependency> | 83 | </dependency> |
| 84 | </dependencies> | 84 | </dependencies> |
| 85 | </plugin> | 85 | </plugin> |
| 86 | - | 86 | +<!--输出doc文档插件禁用--> |
| 87 | - <plugin> | 87 | +<!-- <plugin>--> |
| 88 | - <groupId>org.apache.maven.plugins</groupId> | 88 | +<!-- <groupId>org.apache.maven.plugins</groupId>--> |
| 89 | - <artifactId>maven-javadoc-plugin</artifactId> | 89 | +<!-- <artifactId>maven-javadoc-plugin</artifactId>--> |
| 90 | - <version>2.10.2</version> | 90 | +<!-- <version>2.10.2</version>--> |
| 91 | - <configuration> | 91 | +<!-- <configuration>--> |
| 92 | - <aggregate>true</aggregate> | 92 | +<!-- <aggregate>true</aggregate>--> |
| 93 | - </configuration> | 93 | +<!-- </configuration>--> |
| 94 | - <executions> | 94 | +<!-- <executions>--> |
| 95 | - <execution> | 95 | +<!-- <execution>--> |
| 96 | - <id>attach-javadocs</id> | 96 | +<!-- <id>attach-javadocs</id>--> |
| 97 | - <goals> | 97 | +<!-- <goals>--> |
| 98 | - <goal>jar</goal> | 98 | +<!-- <goal>jar</goal>--> |
| 99 | - </goals> | 99 | +<!-- </goals>--> |
| 100 | - </execution> | 100 | +<!-- </execution>--> |
| 101 | - </executions> | 101 | +<!-- </executions>--> |
| 102 | - </plugin> | 102 | +<!-- </plugin>--> |
| 103 | </plugins> | 103 | </plugins> |
| 104 | </build> | 104 | </build> |
| 105 | </project> | 105 | </project> |
| ... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
| 3 | +<mapper namespace="com.fedex.connect.common.dao.biz.CeInfoMapper"> | ||
| 4 | + <resultMap id="BaseResultMap" type="com.fedex.connect.common.model.biz.CeInfo"> | ||
| 5 | + <id column="ID" jdbcType="NUMERIC" property="id" /> | ||
| 6 | + <result column="CONSIGNMENT_CODE" jdbcType="VARCHAR" property="consignmentCode" /> | ||
| 7 | + <result column="SEND_TIME" jdbcType="TIMESTAMP" property="sendTime" /> | ||
| 8 | + <result column="SHIP_DATE" jdbcType="TIMESTAMP" property="shipDate" /> | ||
| 9 | + <result column="SHIPPER_COUNTRY" jdbcType="VARCHAR" property="shipperCountry" /> | ||
| 10 | + <result column="RECIPIENT_COUNTRY" jdbcType="VARCHAR" property="recipientCountry" /> | ||
| 11 | + <result column="DEST_IATA_CODE" jdbcType="VARCHAR" property="destIataCode" /> | ||
| 12 | + <result column="CREATE_TIME" jdbcType="TIMESTAMP" property="createTime" /> | ||
| 13 | + <result column="CREATE_USER_ID" jdbcType="NUMERIC" property="createUserId" /> | ||
| 14 | + <result column="CREATE_USER_NAME" jdbcType="VARCHAR" property="createUserName" /> | ||
| 15 | + <result column="MODIFY_TIME" jdbcType="TIMESTAMP" property="modifyTime" /> | ||
| 16 | + <result column="MODIFY_USER_ID" jdbcType="NUMERIC" property="modifyUserId" /> | ||
| 17 | + <result column="MODIFY_USER_NAME" jdbcType="VARCHAR" property="modifyUserName" /> | ||
| 18 | + <result column="COUNT_ORIGIN" jdbcType="VARCHAR" property="countOrigin" /> | ||
| 19 | + <result column="DESTINATION_COUNTRY" jdbcType="VARCHAR" property="destinationCountry" /> | ||
| 20 | + <result column="CUSTOMS_CURRENCY" jdbcType="VARCHAR" property="customsCurrency" /> | ||
| 21 | + <result column="CUSTOMS_VALUE" jdbcType="NUMERIC" property="customsValue" /> | ||
| 22 | + <result column="WEIGHT" jdbcType="NUMERIC" property="weight" /> | ||
| 23 | + <result column="WEIGHTUNIT" jdbcType="NUMERIC" property="weightunit" /> | ||
| 24 | + <result column="SCANDATE" jdbcType="TIMESTAMP" property="scandate" /> | ||
| 25 | + <result column="SHIPPER_CONTACT_NAME" jdbcType="VARCHAR" property="shipperContactName" /> | ||
| 26 | + <result column="SHIPPER_PHONE" jdbcType="VARCHAR" property="shipperPhone" /> | ||
| 27 | + <result column="SHIPPER_ACCOUNT" jdbcType="VARCHAR" property="shipperAccount" /> | ||
| 28 | + <result column="SHIPPER_COMPANY" jdbcType="VARCHAR" property="shipperCompany" /> | ||
| 29 | + <result column="SHIPPER_ADDR_LINE1" jdbcType="VARCHAR" property="shipperAddrLine1" /> | ||
| 30 | + <result column="SHIPPER_ADDR_LINE2" jdbcType="VARCHAR" property="shipperAddrLine2" /> | ||
| 31 | + <result column="SHIPPER_CITY" jdbcType="VARCHAR" property="shipperCity" /> | ||
| 32 | + <result column="SHIPPER_EMAIL" jdbcType="VARCHAR" property="shipperEmail" /> | ||
| 33 | + <result column="RECIPIENT_CONTACT_NAME" jdbcType="VARCHAR" property="recipientContactName" /> | ||
| 34 | + <result column="RECIPIENT_PHONE" jdbcType="VARCHAR" property="recipientPhone" /> | ||
| 35 | + <result column="RECIPIENT_COMPANY" jdbcType="VARCHAR" property="recipientCompany" /> | ||
| 36 | + <result column="RECIPIENT_ADDR_LINE1" jdbcType="VARCHAR" property="recipientAddrLine1" /> | ||
| 37 | + <result column="RECIPIENT_ADDR_LINE2" jdbcType="VARCHAR" property="recipientAddrLine2" /> | ||
| 38 | + <result column="RECIPIENT_ADDR_LINE3" jdbcType="VARCHAR" property="recipientAddrLine3" /> | ||
| 39 | + <result column="RECIPIENT_CITY" jdbcType="VARCHAR" property="recipientCity" /> | ||
| 40 | + </resultMap> | ||
| 41 | + <sql id="Example_Where_Clause"> | ||
| 42 | + <where> | ||
| 43 | + <foreach collection="oredCriteria" item="criteria" separator="or"> | ||
| 44 | + <if test="criteria.valid"> | ||
| 45 | + <trim prefix="(" prefixOverrides="and" suffix=")"> | ||
| 46 | + <foreach collection="criteria.criteria" item="criterion"> | ||
| 47 | + <choose> | ||
| 48 | + <when test="criterion.noValue"> | ||
| 49 | + and ${criterion.condition} | ||
| 50 | + </when> | ||
| 51 | + <when test="criterion.singleValue"> | ||
| 52 | + and ${criterion.condition} #{criterion.value} | ||
| 53 | + </when> | ||
| 54 | + <when test="criterion.betweenValue"> | ||
| 55 | + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} | ||
| 56 | + </when> | ||
| 57 | + <when test="criterion.listValue"> | ||
| 58 | + and ${criterion.condition} | ||
| 59 | + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> | ||
| 60 | + #{listItem} | ||
| 61 | + </foreach> | ||
| 62 | + </when> | ||
| 63 | + </choose> | ||
| 64 | + </foreach> | ||
| 65 | + </trim> | ||
| 66 | + </if> | ||
| 67 | + </foreach> | ||
| 68 | + </where> | ||
| 69 | + </sql> | ||
| 70 | + <sql id="Update_By_Example_Where_Clause"> | ||
| 71 | + <where> | ||
| 72 | + <foreach collection="example.oredCriteria" item="criteria" separator="or"> | ||
| 73 | + <if test="criteria.valid"> | ||
| 74 | + <trim prefix="(" prefixOverrides="and" suffix=")"> | ||
| 75 | + <foreach collection="criteria.criteria" item="criterion"> | ||
| 76 | + <choose> | ||
| 77 | + <when test="criterion.noValue"> | ||
| 78 | + and ${criterion.condition} | ||
| 79 | + </when> | ||
| 80 | + <when test="criterion.singleValue"> | ||
| 81 | + and ${criterion.condition} #{criterion.value} | ||
| 82 | + </when> | ||
| 83 | + <when test="criterion.betweenValue"> | ||
| 84 | + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} | ||
| 85 | + </when> | ||
| 86 | + <when test="criterion.listValue"> | ||
| 87 | + and ${criterion.condition} | ||
| 88 | + <foreach close=")" collection="criterion.value" item="listItem" open="(" separator=","> | ||
| 89 | + #{listItem} | ||
| 90 | + </foreach> | ||
| 91 | + </when> | ||
| 92 | + </choose> | ||
| 93 | + </foreach> | ||
| 94 | + </trim> | ||
| 95 | + </if> | ||
| 96 | + </foreach> | ||
| 97 | + </where> | ||
| 98 | + </sql> | ||
| 99 | + <sql id="Base_Column_List"> | ||
| 100 | + ID, CONSIGNMENT_CODE, SEND_TIME, SHIP_DATE, SHIPPER_COUNTRY, RECIPIENT_COUNTRY, DEST_IATA_CODE, | ||
| 101 | + CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, MODIFY_USER_NAME, | ||
| 102 | + COUNT_ORIGIN, DESTINATION_COUNTRY, CUSTOMS_CURRENCY, CUSTOMS_VALUE, WEIGHT, WEIGHTUNIT, | ||
| 103 | + SCANDATE, SHIPPER_CONTACT_NAME, SHIPPER_PHONE, SHIPPER_ACCOUNT, SHIPPER_COMPANY, | ||
| 104 | + SHIPPER_ADDR_LINE1, SHIPPER_ADDR_LINE2, SHIPPER_CITY, SHIPPER_EMAIL, RECIPIENT_CONTACT_NAME, | ||
| 105 | + RECIPIENT_PHONE, RECIPIENT_COMPANY, RECIPIENT_ADDR_LINE1, RECIPIENT_ADDR_LINE2, RECIPIENT_ADDR_LINE3, | ||
| 106 | + RECIPIENT_CITY | ||
| 107 | + </sql> | ||
| 108 | + <select id="selectByExample" parameterType="com.fedex.connect.common.model.biz.CeInfoExample" resultMap="BaseResultMap"> | ||
| 109 | + <include refid="OracleDialectPrefix" /> | ||
| 110 | + select | ||
| 111 | + <if test="distinct"> | ||
| 112 | + distinct | ||
| 113 | + </if> | ||
| 114 | + 'true' as QUERYID, | ||
| 115 | + <include refid="Base_Column_List" /> | ||
| 116 | + from ICLEARIMP.T_BIZ_CE_INFO | ||
| 117 | + <if test="_parameter != null"> | ||
| 118 | + <include refid="Example_Where_Clause" /> | ||
| 119 | + </if> | ||
| 120 | + <if test="orderByClause != null"> | ||
| 121 | + order by ${orderByClause} | ||
| 122 | + </if> | ||
| 123 | + <include refid="OracleDialectSuffix" /> | ||
| 124 | + </select> | ||
| 125 | + <select id="selectByPrimaryKey" parameterType="java.lang.Long" resultMap="BaseResultMap"> | ||
| 126 | + select | ||
| 127 | + <include refid="Base_Column_List" /> | ||
| 128 | + from ICLEARIMP.T_BIZ_CE_INFO | ||
| 129 | + where ID = #{id,jdbcType=NUMERIC} | ||
| 130 | + </select> | ||
| 131 | + <delete id="deleteByPrimaryKey" parameterType="java.lang.Long"> | ||
| 132 | + delete from ICLEARIMP.T_BIZ_CE_INFO | ||
| 133 | + where ID = #{id,jdbcType=NUMERIC} | ||
| 134 | + </delete> | ||
| 135 | + <delete id="deleteByExample" parameterType="com.fedex.connect.common.model.biz.CeInfoExample"> | ||
| 136 | + delete from ICLEARIMP.T_BIZ_CE_INFO | ||
| 137 | + <if test="_parameter != null"> | ||
| 138 | + <include refid="Example_Where_Clause" /> | ||
| 139 | + </if> | ||
| 140 | + </delete> | ||
| 141 | + <insert id="insert" parameterType="com.fedex.connect.common.model.biz.CeInfo"> | ||
| 142 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | ||
| 143 | + SELECT SEQ_T_BIZ_CE_INFO.NEXTVAL FROM DUAL | ||
| 144 | + </selectKey> | ||
| 145 | + insert into ICLEARIMP.T_BIZ_CE_INFO (ID, CONSIGNMENT_CODE, SEND_TIME, | ||
| 146 | + SHIP_DATE, SHIPPER_COUNTRY, RECIPIENT_COUNTRY, | ||
| 147 | + DEST_IATA_CODE, CREATE_TIME, CREATE_USER_ID, | ||
| 148 | + CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, | ||
| 149 | + MODIFY_USER_NAME, COUNT_ORIGIN, DESTINATION_COUNTRY, | ||
| 150 | + CUSTOMS_CURRENCY, CUSTOMS_VALUE, WEIGHT, | ||
| 151 | + WEIGHTUNIT, SCANDATE, SHIPPER_CONTACT_NAME, | ||
| 152 | + SHIPPER_PHONE, SHIPPER_ACCOUNT, SHIPPER_COMPANY, | ||
| 153 | + SHIPPER_ADDR_LINE1, SHIPPER_ADDR_LINE2, SHIPPER_CITY, | ||
| 154 | + SHIPPER_EMAIL, RECIPIENT_CONTACT_NAME, RECIPIENT_PHONE, | ||
| 155 | + RECIPIENT_COMPANY, RECIPIENT_ADDR_LINE1, RECIPIENT_ADDR_LINE2, | ||
| 156 | + RECIPIENT_ADDR_LINE3, RECIPIENT_CITY) | ||
| 157 | + values (#{id,jdbcType=NUMERIC}, #{consignmentCode,jdbcType=VARCHAR}, #{sendTime,jdbcType=TIMESTAMP}, | ||
| 158 | + #{shipDate,jdbcType=TIMESTAMP}, #{shipperCountry,jdbcType=VARCHAR}, #{recipientCountry,jdbcType=VARCHAR}, | ||
| 159 | + #{destIataCode,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC}, | ||
| 160 | + #{createUserName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, | ||
| 161 | + #{modifyUserName,jdbcType=VARCHAR}, #{countOrigin,jdbcType=VARCHAR}, #{destinationCountry,jdbcType=VARCHAR}, | ||
| 162 | + #{customsCurrency,jdbcType=VARCHAR}, #{customsValue,jdbcType=NUMERIC}, #{weight,jdbcType=NUMERIC}, | ||
| 163 | + #{weightunit,jdbcType=NUMERIC}, #{scandate,jdbcType=TIMESTAMP}, #{shipperContactName,jdbcType=VARCHAR}, | ||
| 164 | + #{shipperPhone,jdbcType=VARCHAR}, #{shipperAccount,jdbcType=VARCHAR}, #{shipperCompany,jdbcType=VARCHAR}, | ||
| 165 | + #{shipperAddrLine1,jdbcType=VARCHAR}, #{shipperAddrLine2,jdbcType=VARCHAR}, #{shipperCity,jdbcType=VARCHAR}, | ||
| 166 | + #{shipperEmail,jdbcType=VARCHAR}, #{recipientContactName,jdbcType=VARCHAR}, #{recipientPhone,jdbcType=VARCHAR}, | ||
| 167 | + #{recipientCompany,jdbcType=VARCHAR}, #{recipientAddrLine1,jdbcType=VARCHAR}, #{recipientAddrLine2,jdbcType=VARCHAR}, | ||
| 168 | + #{recipientAddrLine3,jdbcType=VARCHAR}, #{recipientCity,jdbcType=VARCHAR}) | ||
| 169 | + </insert> | ||
| 170 | + <insert id="insertSelective" parameterType="com.fedex.connect.common.model.biz.CeInfo"> | ||
| 171 | + <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> | ||
| 172 | + SELECT SEQ_T_BIZ_CE_INFO.NEXTVAL FROM DUAL | ||
| 173 | + </selectKey> | ||
| 174 | + insert into ICLEARIMP.T_BIZ_CE_INFO | ||
| 175 | + <trim prefix="(" suffix=")" suffixOverrides=","> | ||
| 176 | + ID, | ||
| 177 | + <if test="consignmentCode != null"> | ||
| 178 | + CONSIGNMENT_CODE, | ||
| 179 | + </if> | ||
| 180 | + <if test="sendTime != null"> | ||
| 181 | + SEND_TIME, | ||
| 182 | + </if> | ||
| 183 | + <if test="shipDate != null"> | ||
| 184 | + SHIP_DATE, | ||
| 185 | + </if> | ||
| 186 | + <if test="shipperCountry != null"> | ||
| 187 | + SHIPPER_COUNTRY, | ||
| 188 | + </if> | ||
| 189 | + <if test="recipientCountry != null"> | ||
| 190 | + RECIPIENT_COUNTRY, | ||
| 191 | + </if> | ||
| 192 | + <if test="destIataCode != null"> | ||
| 193 | + DEST_IATA_CODE, | ||
| 194 | + </if> | ||
| 195 | + <if test="createTime != null"> | ||
| 196 | + CREATE_TIME, | ||
| 197 | + </if> | ||
| 198 | + <if test="createUserId != null"> | ||
| 199 | + CREATE_USER_ID, | ||
| 200 | + </if> | ||
| 201 | + <if test="createUserName != null"> | ||
| 202 | + CREATE_USER_NAME, | ||
| 203 | + </if> | ||
| 204 | + <if test="modifyTime != null"> | ||
| 205 | + MODIFY_TIME, | ||
| 206 | + </if> | ||
| 207 | + <if test="modifyUserId != null"> | ||
| 208 | + MODIFY_USER_ID, | ||
| 209 | + </if> | ||
| 210 | + <if test="modifyUserName != null"> | ||
| 211 | + MODIFY_USER_NAME, | ||
| 212 | + </if> | ||
| 213 | + <if test="countOrigin != null"> | ||
| 214 | + COUNT_ORIGIN, | ||
| 215 | + </if> | ||
| 216 | + <if test="destinationCountry != null"> | ||
| 217 | + DESTINATION_COUNTRY, | ||
| 218 | + </if> | ||
| 219 | + <if test="customsCurrency != null"> | ||
| 220 | + CUSTOMS_CURRENCY, | ||
| 221 | + </if> | ||
| 222 | + <if test="customsValue != null"> | ||
| 223 | + CUSTOMS_VALUE, | ||
| 224 | + </if> | ||
| 225 | + <if test="weight != null"> | ||
| 226 | + WEIGHT, | ||
| 227 | + </if> | ||
| 228 | + <if test="weightunit != null"> | ||
| 229 | + WEIGHTUNIT, | ||
| 230 | + </if> | ||
| 231 | + <if test="scandate != null"> | ||
| 232 | + SCANDATE, | ||
| 233 | + </if> | ||
| 234 | + <if test="shipperContactName != null"> | ||
| 235 | + SHIPPER_CONTACT_NAME, | ||
| 236 | + </if> | ||
| 237 | + <if test="shipperPhone != null"> | ||
| 238 | + SHIPPER_PHONE, | ||
| 239 | + </if> | ||
| 240 | + <if test="shipperAccount != null"> | ||
| 241 | + SHIPPER_ACCOUNT, | ||
| 242 | + </if> | ||
| 243 | + <if test="shipperCompany != null"> | ||
| 244 | + SHIPPER_COMPANY, | ||
| 245 | + </if> | ||
| 246 | + <if test="shipperAddrLine1 != null"> | ||
| 247 | + SHIPPER_ADDR_LINE1, | ||
| 248 | + </if> | ||
| 249 | + <if test="shipperAddrLine2 != null"> | ||
| 250 | + SHIPPER_ADDR_LINE2, | ||
| 251 | + </if> | ||
| 252 | + <if test="shipperCity != null"> | ||
| 253 | + SHIPPER_CITY, | ||
| 254 | + </if> | ||
| 255 | + <if test="shipperEmail != null"> | ||
| 256 | + SHIPPER_EMAIL, | ||
| 257 | + </if> | ||
| 258 | + <if test="recipientContactName != null"> | ||
| 259 | + RECIPIENT_CONTACT_NAME, | ||
| 260 | + </if> | ||
| 261 | + <if test="recipientPhone != null"> | ||
| 262 | + RECIPIENT_PHONE, | ||
| 263 | + </if> | ||
| 264 | + <if test="recipientCompany != null"> | ||
| 265 | + RECIPIENT_COMPANY, | ||
| 266 | + </if> | ||
| 267 | + <if test="recipientAddrLine1 != null"> | ||
| 268 | + RECIPIENT_ADDR_LINE1, | ||
| 269 | + </if> | ||
| 270 | + <if test="recipientAddrLine2 != null"> | ||
| 271 | + RECIPIENT_ADDR_LINE2, | ||
| 272 | + </if> | ||
| 273 | + <if test="recipientAddrLine3 != null"> | ||
| 274 | + RECIPIENT_ADDR_LINE3, | ||
| 275 | + </if> | ||
| 276 | + <if test="recipientCity != null"> | ||
| 277 | + RECIPIENT_CITY, | ||
| 278 | + </if> | ||
| 279 | + </trim> | ||
| 280 | + <trim prefix="values (" suffix=")" suffixOverrides=","> | ||
| 281 | + #{id,jdbcType=NUMERIC}, | ||
| 282 | + <if test="consignmentCode != null"> | ||
| 283 | + #{consignmentCode,jdbcType=VARCHAR}, | ||
| 284 | + </if> | ||
| 285 | + <if test="sendTime != null"> | ||
| 286 | + #{sendTime,jdbcType=TIMESTAMP}, | ||
| 287 | + </if> | ||
| 288 | + <if test="shipDate != null"> | ||
| 289 | + #{shipDate,jdbcType=TIMESTAMP}, | ||
| 290 | + </if> | ||
| 291 | + <if test="shipperCountry != null"> | ||
| 292 | + #{shipperCountry,jdbcType=VARCHAR}, | ||
| 293 | + </if> | ||
| 294 | + <if test="recipientCountry != null"> | ||
| 295 | + #{recipientCountry,jdbcType=VARCHAR}, | ||
| 296 | + </if> | ||
| 297 | + <if test="destIataCode != null"> | ||
| 298 | + #{destIataCode,jdbcType=VARCHAR}, | ||
| 299 | + </if> | ||
| 300 | + <if test="createTime != null"> | ||
| 301 | + #{createTime,jdbcType=TIMESTAMP}, | ||
| 302 | + </if> | ||
| 303 | + <if test="createUserId != null"> | ||
| 304 | + #{createUserId,jdbcType=NUMERIC}, | ||
| 305 | + </if> | ||
| 306 | + <if test="createUserName != null"> | ||
| 307 | + #{createUserName,jdbcType=VARCHAR}, | ||
| 308 | + </if> | ||
| 309 | + <if test="modifyTime != null"> | ||
| 310 | + #{modifyTime,jdbcType=TIMESTAMP}, | ||
| 311 | + </if> | ||
| 312 | + <if test="modifyUserId != null"> | ||
| 313 | + #{modifyUserId,jdbcType=NUMERIC}, | ||
| 314 | + </if> | ||
| 315 | + <if test="modifyUserName != null"> | ||
| 316 | + #{modifyUserName,jdbcType=VARCHAR}, | ||
| 317 | + </if> | ||
| 318 | + <if test="countOrigin != null"> | ||
| 319 | + #{countOrigin,jdbcType=VARCHAR}, | ||
| 320 | + </if> | ||
| 321 | + <if test="destinationCountry != null"> | ||
| 322 | + #{destinationCountry,jdbcType=VARCHAR}, | ||
| 323 | + </if> | ||
| 324 | + <if test="customsCurrency != null"> | ||
| 325 | + #{customsCurrency,jdbcType=VARCHAR}, | ||
| 326 | + </if> | ||
| 327 | + <if test="customsValue != null"> | ||
| 328 | + #{customsValue,jdbcType=NUMERIC}, | ||
| 329 | + </if> | ||
| 330 | + <if test="weight != null"> | ||
| 331 | + #{weight,jdbcType=NUMERIC}, | ||
| 332 | + </if> | ||
| 333 | + <if test="weightunit != null"> | ||
| 334 | + #{weightunit,jdbcType=NUMERIC}, | ||
| 335 | + </if> | ||
| 336 | + <if test="scandate != null"> | ||
| 337 | + #{scandate,jdbcType=TIMESTAMP}, | ||
| 338 | + </if> | ||
| 339 | + <if test="shipperContactName != null"> | ||
| 340 | + #{shipperContactName,jdbcType=VARCHAR}, | ||
| 341 | + </if> | ||
| 342 | + <if test="shipperPhone != null"> | ||
| 343 | + #{shipperPhone,jdbcType=VARCHAR}, | ||
| 344 | + </if> | ||
| 345 | + <if test="shipperAccount != null"> | ||
| 346 | + #{shipperAccount,jdbcType=VARCHAR}, | ||
| 347 | + </if> | ||
| 348 | + <if test="shipperCompany != null"> | ||
| 349 | + #{shipperCompany,jdbcType=VARCHAR}, | ||
| 350 | + </if> | ||
| 351 | + <if test="shipperAddrLine1 != null"> | ||
| 352 | + #{shipperAddrLine1,jdbcType=VARCHAR}, | ||
| 353 | + </if> | ||
| 354 | + <if test="shipperAddrLine2 != null"> | ||
| 355 | + #{shipperAddrLine2,jdbcType=VARCHAR}, | ||
| 356 | + </if> | ||
| 357 | + <if test="shipperCity != null"> | ||
| 358 | + #{shipperCity,jdbcType=VARCHAR}, | ||
| 359 | + </if> | ||
| 360 | + <if test="shipperEmail != null"> | ||
| 361 | + #{shipperEmail,jdbcType=VARCHAR}, | ||
| 362 | + </if> | ||
| 363 | + <if test="recipientContactName != null"> | ||
| 364 | + #{recipientContactName,jdbcType=VARCHAR}, | ||
| 365 | + </if> | ||
| 366 | + <if test="recipientPhone != null"> | ||
| 367 | + #{recipientPhone,jdbcType=VARCHAR}, | ||
| 368 | + </if> | ||
| 369 | + <if test="recipientCompany != null"> | ||
| 370 | + #{recipientCompany,jdbcType=VARCHAR}, | ||
| 371 | + </if> | ||
| 372 | + <if test="recipientAddrLine1 != null"> | ||
| 373 | + #{recipientAddrLine1,jdbcType=VARCHAR}, | ||
| 374 | + </if> | ||
| 375 | + <if test="recipientAddrLine2 != null"> | ||
| 376 | + #{recipientAddrLine2,jdbcType=VARCHAR}, | ||
| 377 | + </if> | ||
| 378 | + <if test="recipientAddrLine3 != null"> | ||
| 379 | + #{recipientAddrLine3,jdbcType=VARCHAR}, | ||
| 380 | + </if> | ||
| 381 | + <if test="recipientCity != null"> | ||
| 382 | + #{recipientCity,jdbcType=VARCHAR}, | ||
| 383 | + </if> | ||
| 384 | + </trim> | ||
| 385 | + </insert> | ||
| 386 | + <select id="countByExample" parameterType="com.fedex.connect.common.model.biz.CeInfoExample" resultType="java.lang.Long"> | ||
| 387 | + select count(*) from ICLEARIMP.T_BIZ_CE_INFO | ||
| 388 | + <if test="_parameter != null"> | ||
| 389 | + <include refid="Example_Where_Clause" /> | ||
| 390 | + </if> | ||
| 391 | + </select> | ||
| 392 | + <update id="updateByExampleSelective" parameterType="map"> | ||
| 393 | + update ICLEARIMP.T_BIZ_CE_INFO | ||
| 394 | + <set> | ||
| 395 | + <if test="record.id != null"> | ||
| 396 | + ID = #{record.id,jdbcType=NUMERIC}, | ||
| 397 | + </if> | ||
| 398 | + <if test="record.consignmentCode != null"> | ||
| 399 | + CONSIGNMENT_CODE = #{record.consignmentCode,jdbcType=VARCHAR}, | ||
| 400 | + </if> | ||
| 401 | + <if test="record.sendTime != null"> | ||
| 402 | + SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP}, | ||
| 403 | + </if> | ||
| 404 | + <if test="record.shipDate != null"> | ||
| 405 | + SHIP_DATE = #{record.shipDate,jdbcType=TIMESTAMP}, | ||
| 406 | + </if> | ||
| 407 | + <if test="record.shipperCountry != null"> | ||
| 408 | + SHIPPER_COUNTRY = #{record.shipperCountry,jdbcType=VARCHAR}, | ||
| 409 | + </if> | ||
| 410 | + <if test="record.recipientCountry != null"> | ||
| 411 | + RECIPIENT_COUNTRY = #{record.recipientCountry,jdbcType=VARCHAR}, | ||
| 412 | + </if> | ||
| 413 | + <if test="record.destIataCode != null"> | ||
| 414 | + DEST_IATA_CODE = #{record.destIataCode,jdbcType=VARCHAR}, | ||
| 415 | + </if> | ||
| 416 | + <if test="record.createTime != null"> | ||
| 417 | + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}, | ||
| 418 | + </if> | ||
| 419 | + <if test="record.createUserId != null"> | ||
| 420 | + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC}, | ||
| 421 | + </if> | ||
| 422 | + <if test="record.createUserName != null"> | ||
| 423 | + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR}, | ||
| 424 | + </if> | ||
| 425 | + <if test="record.modifyTime != null"> | ||
| 426 | + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP}, | ||
| 427 | + </if> | ||
| 428 | + <if test="record.modifyUserId != null"> | ||
| 429 | + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC}, | ||
| 430 | + </if> | ||
| 431 | + <if test="record.modifyUserName != null"> | ||
| 432 | + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}, | ||
| 433 | + </if> | ||
| 434 | + <if test="record.countOrigin != null"> | ||
| 435 | + COUNT_ORIGIN = #{record.countOrigin,jdbcType=VARCHAR}, | ||
| 436 | + </if> | ||
| 437 | + <if test="record.destinationCountry != null"> | ||
| 438 | + DESTINATION_COUNTRY = #{record.destinationCountry,jdbcType=VARCHAR}, | ||
| 439 | + </if> | ||
| 440 | + <if test="record.customsCurrency != null"> | ||
| 441 | + CUSTOMS_CURRENCY = #{record.customsCurrency,jdbcType=VARCHAR}, | ||
| 442 | + </if> | ||
| 443 | + <if test="record.customsValue != null"> | ||
| 444 | + CUSTOMS_VALUE = #{record.customsValue,jdbcType=NUMERIC}, | ||
| 445 | + </if> | ||
| 446 | + <if test="record.weight != null"> | ||
| 447 | + WEIGHT = #{record.weight,jdbcType=NUMERIC}, | ||
| 448 | + </if> | ||
| 449 | + <if test="record.weightunit != null"> | ||
| 450 | + WEIGHTUNIT = #{record.weightunit,jdbcType=NUMERIC}, | ||
| 451 | + </if> | ||
| 452 | + <if test="record.scandate != null"> | ||
| 453 | + SCANDATE = #{record.scandate,jdbcType=TIMESTAMP}, | ||
| 454 | + </if> | ||
| 455 | + <if test="record.shipperContactName != null"> | ||
| 456 | + SHIPPER_CONTACT_NAME = #{record.shipperContactName,jdbcType=VARCHAR}, | ||
| 457 | + </if> | ||
| 458 | + <if test="record.shipperPhone != null"> | ||
| 459 | + SHIPPER_PHONE = #{record.shipperPhone,jdbcType=VARCHAR}, | ||
| 460 | + </if> | ||
| 461 | + <if test="record.shipperAccount != null"> | ||
| 462 | + SHIPPER_ACCOUNT = #{record.shipperAccount,jdbcType=VARCHAR}, | ||
| 463 | + </if> | ||
| 464 | + <if test="record.shipperCompany != null"> | ||
| 465 | + SHIPPER_COMPANY = #{record.shipperCompany,jdbcType=VARCHAR}, | ||
| 466 | + </if> | ||
| 467 | + <if test="record.shipperAddrLine1 != null"> | ||
| 468 | + SHIPPER_ADDR_LINE1 = #{record.shipperAddrLine1,jdbcType=VARCHAR}, | ||
| 469 | + </if> | ||
| 470 | + <if test="record.shipperAddrLine2 != null"> | ||
| 471 | + SHIPPER_ADDR_LINE2 = #{record.shipperAddrLine2,jdbcType=VARCHAR}, | ||
| 472 | + </if> | ||
| 473 | + <if test="record.shipperCity != null"> | ||
| 474 | + SHIPPER_CITY = #{record.shipperCity,jdbcType=VARCHAR}, | ||
| 475 | + </if> | ||
| 476 | + <if test="record.shipperEmail != null"> | ||
| 477 | + SHIPPER_EMAIL = #{record.shipperEmail,jdbcType=VARCHAR}, | ||
| 478 | + </if> | ||
| 479 | + <if test="record.recipientContactName != null"> | ||
| 480 | + RECIPIENT_CONTACT_NAME = #{record.recipientContactName,jdbcType=VARCHAR}, | ||
| 481 | + </if> | ||
| 482 | + <if test="record.recipientPhone != null"> | ||
| 483 | + RECIPIENT_PHONE = #{record.recipientPhone,jdbcType=VARCHAR}, | ||
| 484 | + </if> | ||
| 485 | + <if test="record.recipientCompany != null"> | ||
| 486 | + RECIPIENT_COMPANY = #{record.recipientCompany,jdbcType=VARCHAR}, | ||
| 487 | + </if> | ||
| 488 | + <if test="record.recipientAddrLine1 != null"> | ||
| 489 | + RECIPIENT_ADDR_LINE1 = #{record.recipientAddrLine1,jdbcType=VARCHAR}, | ||
| 490 | + </if> | ||
| 491 | + <if test="record.recipientAddrLine2 != null"> | ||
| 492 | + RECIPIENT_ADDR_LINE2 = #{record.recipientAddrLine2,jdbcType=VARCHAR}, | ||
| 493 | + </if> | ||
| 494 | + <if test="record.recipientAddrLine3 != null"> | ||
| 495 | + RECIPIENT_ADDR_LINE3 = #{record.recipientAddrLine3,jdbcType=VARCHAR}, | ||
| 496 | + </if> | ||
| 497 | + <if test="record.recipientCity != null"> | ||
| 498 | + RECIPIENT_CITY = #{record.recipientCity,jdbcType=VARCHAR}, | ||
| 499 | + </if> | ||
| 500 | + </set> | ||
| 501 | + <if test="_parameter != null"> | ||
| 502 | + <include refid="Update_By_Example_Where_Clause" /> | ||
| 503 | + </if> | ||
| 504 | + </update> | ||
| 505 | + <update id="updateByExample" parameterType="map"> | ||
| 506 | + update ICLEARIMP.T_BIZ_CE_INFO | ||
| 507 | + set ID = #{record.id,jdbcType=NUMERIC}, | ||
| 508 | + CONSIGNMENT_CODE = #{record.consignmentCode,jdbcType=VARCHAR}, | ||
| 509 | + SEND_TIME = #{record.sendTime,jdbcType=TIMESTAMP}, | ||
| 510 | + SHIP_DATE = #{record.shipDate,jdbcType=TIMESTAMP}, | ||
| 511 | + SHIPPER_COUNTRY = #{record.shipperCountry,jdbcType=VARCHAR}, | ||
| 512 | + RECIPIENT_COUNTRY = #{record.recipientCountry,jdbcType=VARCHAR}, | ||
| 513 | + DEST_IATA_CODE = #{record.destIataCode,jdbcType=VARCHAR}, | ||
| 514 | + CREATE_TIME = #{record.createTime,jdbcType=TIMESTAMP}, | ||
| 515 | + CREATE_USER_ID = #{record.createUserId,jdbcType=NUMERIC}, | ||
| 516 | + CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR}, | ||
| 517 | + MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP}, | ||
| 518 | + MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC}, | ||
| 519 | + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}, | ||
| 520 | + COUNT_ORIGIN = #{record.countOrigin,jdbcType=VARCHAR}, | ||
| 521 | + DESTINATION_COUNTRY = #{record.destinationCountry,jdbcType=VARCHAR}, | ||
| 522 | + CUSTOMS_CURRENCY = #{record.customsCurrency,jdbcType=VARCHAR}, | ||
| 523 | + CUSTOMS_VALUE = #{record.customsValue,jdbcType=NUMERIC}, | ||
| 524 | + WEIGHT = #{record.weight,jdbcType=NUMERIC}, | ||
| 525 | + WEIGHTUNIT = #{record.weightunit,jdbcType=NUMERIC}, | ||
| 526 | + SCANDATE = #{record.scandate,jdbcType=TIMESTAMP}, | ||
| 527 | + SHIPPER_CONTACT_NAME = #{record.shipperContactName,jdbcType=VARCHAR}, | ||
| 528 | + SHIPPER_PHONE = #{record.shipperPhone,jdbcType=VARCHAR}, | ||
| 529 | + SHIPPER_ACCOUNT = #{record.shipperAccount,jdbcType=VARCHAR}, | ||
| 530 | + SHIPPER_COMPANY = #{record.shipperCompany,jdbcType=VARCHAR}, | ||
| 531 | + SHIPPER_ADDR_LINE1 = #{record.shipperAddrLine1,jdbcType=VARCHAR}, | ||
| 532 | + SHIPPER_ADDR_LINE2 = #{record.shipperAddrLine2,jdbcType=VARCHAR}, | ||
| 533 | + SHIPPER_CITY = #{record.shipperCity,jdbcType=VARCHAR}, | ||
| 534 | + SHIPPER_EMAIL = #{record.shipperEmail,jdbcType=VARCHAR}, | ||
| 535 | + RECIPIENT_CONTACT_NAME = #{record.recipientContactName,jdbcType=VARCHAR}, | ||
| 536 | + RECIPIENT_PHONE = #{record.recipientPhone,jdbcType=VARCHAR}, | ||
| 537 | + RECIPIENT_COMPANY = #{record.recipientCompany,jdbcType=VARCHAR}, | ||
| 538 | + RECIPIENT_ADDR_LINE1 = #{record.recipientAddrLine1,jdbcType=VARCHAR}, | ||
| 539 | + RECIPIENT_ADDR_LINE2 = #{record.recipientAddrLine2,jdbcType=VARCHAR}, | ||
| 540 | + RECIPIENT_ADDR_LINE3 = #{record.recipientAddrLine3,jdbcType=VARCHAR}, | ||
| 541 | + RECIPIENT_CITY = #{record.recipientCity,jdbcType=VARCHAR} | ||
| 542 | + <if test="_parameter != null"> | ||
| 543 | + <include refid="Update_By_Example_Where_Clause" /> | ||
| 544 | + </if> | ||
| 545 | + </update> | ||
| 546 | + <update id="updateByPrimaryKeySelective" parameterType="com.fedex.connect.common.model.biz.CeInfo"> | ||
| 547 | + update ICLEARIMP.T_BIZ_CE_INFO | ||
| 548 | + <set> | ||
| 549 | + <if test="consignmentCode != null"> | ||
| 550 | + CONSIGNMENT_CODE = #{consignmentCode,jdbcType=VARCHAR}, | ||
| 551 | + </if> | ||
| 552 | + <if test="sendTime != null"> | ||
| 553 | + SEND_TIME = #{sendTime,jdbcType=TIMESTAMP}, | ||
| 554 | + </if> | ||
| 555 | + <if test="shipDate != null"> | ||
| 556 | + SHIP_DATE = #{shipDate,jdbcType=TIMESTAMP}, | ||
| 557 | + </if> | ||
| 558 | + <if test="shipperCountry != null"> | ||
| 559 | + SHIPPER_COUNTRY = #{shipperCountry,jdbcType=VARCHAR}, | ||
| 560 | + </if> | ||
| 561 | + <if test="recipientCountry != null"> | ||
| 562 | + RECIPIENT_COUNTRY = #{recipientCountry,jdbcType=VARCHAR}, | ||
| 563 | + </if> | ||
| 564 | + <if test="destIataCode != null"> | ||
| 565 | + DEST_IATA_CODE = #{destIataCode,jdbcType=VARCHAR}, | ||
| 566 | + </if> | ||
| 567 | + <if test="createTime != null"> | ||
| 568 | + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}, | ||
| 569 | + </if> | ||
| 570 | + <if test="createUserId != null"> | ||
| 571 | + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC}, | ||
| 572 | + </if> | ||
| 573 | + <if test="createUserName != null"> | ||
| 574 | + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR}, | ||
| 575 | + </if> | ||
| 576 | + <if test="modifyTime != null"> | ||
| 577 | + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP}, | ||
| 578 | + </if> | ||
| 579 | + <if test="modifyUserId != null"> | ||
| 580 | + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC}, | ||
| 581 | + </if> | ||
| 582 | + <if test="modifyUserName != null"> | ||
| 583 | + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}, | ||
| 584 | + </if> | ||
| 585 | + <if test="countOrigin != null"> | ||
| 586 | + COUNT_ORIGIN = #{countOrigin,jdbcType=VARCHAR}, | ||
| 587 | + </if> | ||
| 588 | + <if test="destinationCountry != null"> | ||
| 589 | + DESTINATION_COUNTRY = #{destinationCountry,jdbcType=VARCHAR}, | ||
| 590 | + </if> | ||
| 591 | + <if test="customsCurrency != null"> | ||
| 592 | + CUSTOMS_CURRENCY = #{customsCurrency,jdbcType=VARCHAR}, | ||
| 593 | + </if> | ||
| 594 | + <if test="customsValue != null"> | ||
| 595 | + CUSTOMS_VALUE = #{customsValue,jdbcType=NUMERIC}, | ||
| 596 | + </if> | ||
| 597 | + <if test="weight != null"> | ||
| 598 | + WEIGHT = #{weight,jdbcType=NUMERIC}, | ||
| 599 | + </if> | ||
| 600 | + <if test="weightunit != null"> | ||
| 601 | + WEIGHTUNIT = #{weightunit,jdbcType=NUMERIC}, | ||
| 602 | + </if> | ||
| 603 | + <if test="scandate != null"> | ||
| 604 | + SCANDATE = #{scandate,jdbcType=TIMESTAMP}, | ||
| 605 | + </if> | ||
| 606 | + <if test="shipperContactName != null"> | ||
| 607 | + SHIPPER_CONTACT_NAME = #{shipperContactName,jdbcType=VARCHAR}, | ||
| 608 | + </if> | ||
| 609 | + <if test="shipperPhone != null"> | ||
| 610 | + SHIPPER_PHONE = #{shipperPhone,jdbcType=VARCHAR}, | ||
| 611 | + </if> | ||
| 612 | + <if test="shipperAccount != null"> | ||
| 613 | + SHIPPER_ACCOUNT = #{shipperAccount,jdbcType=VARCHAR}, | ||
| 614 | + </if> | ||
| 615 | + <if test="shipperCompany != null"> | ||
| 616 | + SHIPPER_COMPANY = #{shipperCompany,jdbcType=VARCHAR}, | ||
| 617 | + </if> | ||
| 618 | + <if test="shipperAddrLine1 != null"> | ||
| 619 | + SHIPPER_ADDR_LINE1 = #{shipperAddrLine1,jdbcType=VARCHAR}, | ||
| 620 | + </if> | ||
| 621 | + <if test="shipperAddrLine2 != null"> | ||
| 622 | + SHIPPER_ADDR_LINE2 = #{shipperAddrLine2,jdbcType=VARCHAR}, | ||
| 623 | + </if> | ||
| 624 | + <if test="shipperCity != null"> | ||
| 625 | + SHIPPER_CITY = #{shipperCity,jdbcType=VARCHAR}, | ||
| 626 | + </if> | ||
| 627 | + <if test="shipperEmail != null"> | ||
| 628 | + SHIPPER_EMAIL = #{shipperEmail,jdbcType=VARCHAR}, | ||
| 629 | + </if> | ||
| 630 | + <if test="recipientContactName != null"> | ||
| 631 | + RECIPIENT_CONTACT_NAME = #{recipientContactName,jdbcType=VARCHAR}, | ||
| 632 | + </if> | ||
| 633 | + <if test="recipientPhone != null"> | ||
| 634 | + RECIPIENT_PHONE = #{recipientPhone,jdbcType=VARCHAR}, | ||
| 635 | + </if> | ||
| 636 | + <if test="recipientCompany != null"> | ||
| 637 | + RECIPIENT_COMPANY = #{recipientCompany,jdbcType=VARCHAR}, | ||
| 638 | + </if> | ||
| 639 | + <if test="recipientAddrLine1 != null"> | ||
| 640 | + RECIPIENT_ADDR_LINE1 = #{recipientAddrLine1,jdbcType=VARCHAR}, | ||
| 641 | + </if> | ||
| 642 | + <if test="recipientAddrLine2 != null"> | ||
| 643 | + RECIPIENT_ADDR_LINE2 = #{recipientAddrLine2,jdbcType=VARCHAR}, | ||
| 644 | + </if> | ||
| 645 | + <if test="recipientAddrLine3 != null"> | ||
| 646 | + RECIPIENT_ADDR_LINE3 = #{recipientAddrLine3,jdbcType=VARCHAR}, | ||
| 647 | + </if> | ||
| 648 | + <if test="recipientCity != null"> | ||
| 649 | + RECIPIENT_CITY = #{recipientCity,jdbcType=VARCHAR}, | ||
| 650 | + </if> | ||
| 651 | + </set> | ||
| 652 | + where ID = #{id,jdbcType=NUMERIC} | ||
| 653 | + </update> | ||
| 654 | + <update id="updateByPrimaryKey" parameterType="com.fedex.connect.common.model.biz.CeInfo"> | ||
| 655 | + update ICLEARIMP.T_BIZ_CE_INFO | ||
| 656 | + set CONSIGNMENT_CODE = #{consignmentCode,jdbcType=VARCHAR}, | ||
| 657 | + SEND_TIME = #{sendTime,jdbcType=TIMESTAMP}, | ||
| 658 | + SHIP_DATE = #{shipDate,jdbcType=TIMESTAMP}, | ||
| 659 | + SHIPPER_COUNTRY = #{shipperCountry,jdbcType=VARCHAR}, | ||
| 660 | + RECIPIENT_COUNTRY = #{recipientCountry,jdbcType=VARCHAR}, | ||
| 661 | + DEST_IATA_CODE = #{destIataCode,jdbcType=VARCHAR}, | ||
| 662 | + CREATE_TIME = #{createTime,jdbcType=TIMESTAMP}, | ||
| 663 | + CREATE_USER_ID = #{createUserId,jdbcType=NUMERIC}, | ||
| 664 | + CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR}, | ||
| 665 | + MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP}, | ||
| 666 | + MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC}, | ||
| 667 | + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}, | ||
| 668 | + COUNT_ORIGIN = #{countOrigin,jdbcType=VARCHAR}, | ||
| 669 | + DESTINATION_COUNTRY = #{destinationCountry,jdbcType=VARCHAR}, | ||
| 670 | + CUSTOMS_CURRENCY = #{customsCurrency,jdbcType=VARCHAR}, | ||
| 671 | + CUSTOMS_VALUE = #{customsValue,jdbcType=NUMERIC}, | ||
| 672 | + WEIGHT = #{weight,jdbcType=NUMERIC}, | ||
| 673 | + WEIGHTUNIT = #{weightunit,jdbcType=NUMERIC}, | ||
| 674 | + SCANDATE = #{scandate,jdbcType=TIMESTAMP}, | ||
| 675 | + SHIPPER_CONTACT_NAME = #{shipperContactName,jdbcType=VARCHAR}, | ||
| 676 | + SHIPPER_PHONE = #{shipperPhone,jdbcType=VARCHAR}, | ||
| 677 | + SHIPPER_ACCOUNT = #{shipperAccount,jdbcType=VARCHAR}, | ||
| 678 | + SHIPPER_COMPANY = #{shipperCompany,jdbcType=VARCHAR}, | ||
| 679 | + SHIPPER_ADDR_LINE1 = #{shipperAddrLine1,jdbcType=VARCHAR}, | ||
| 680 | + SHIPPER_ADDR_LINE2 = #{shipperAddrLine2,jdbcType=VARCHAR}, | ||
| 681 | + SHIPPER_CITY = #{shipperCity,jdbcType=VARCHAR}, | ||
| 682 | + SHIPPER_EMAIL = #{shipperEmail,jdbcType=VARCHAR}, | ||
| 683 | + RECIPIENT_CONTACT_NAME = #{recipientContactName,jdbcType=VARCHAR}, | ||
| 684 | + RECIPIENT_PHONE = #{recipientPhone,jdbcType=VARCHAR}, | ||
| 685 | + RECIPIENT_COMPANY = #{recipientCompany,jdbcType=VARCHAR}, | ||
| 686 | + RECIPIENT_ADDR_LINE1 = #{recipientAddrLine1,jdbcType=VARCHAR}, | ||
| 687 | + RECIPIENT_ADDR_LINE2 = #{recipientAddrLine2,jdbcType=VARCHAR}, | ||
| 688 | + RECIPIENT_ADDR_LINE3 = #{recipientAddrLine3,jdbcType=VARCHAR}, | ||
| 689 | + RECIPIENT_CITY = #{recipientCity,jdbcType=VARCHAR} | ||
| 690 | + where ID = #{id,jdbcType=NUMERIC} | ||
| 691 | + </update> | ||
| 692 | + <sql id="OracleDialectPrefix"> | ||
| 693 | + <if test="limitStart != null and limitStart>=0"> | ||
| 694 | + select * from ( select row_.*, rownum rownum_ from ( | ||
| 695 | + </if> | ||
| 696 | + </sql> | ||
| 697 | + <sql id="OracleDialectSuffix"> | ||
| 698 | + <if test="limitStart != null and limitStart>=0"> | ||
| 699 | + <![CDATA[ ) row_ ) where rownum_ > #{limitStart} and rownum_ <= #{limitStart}+#{limitSize} ]]> | ||
| 700 | + </if> | ||
| 701 | + </sql> | ||
| 702 | +</mapper> | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +package com.fedex.connect.common.model.biz; | ||
| 2 | + | ||
| 3 | +import java.io.Serializable; | ||
| 4 | +import java.util.Date; | ||
| 5 | + | ||
| 6 | +/** | ||
| 7 | + * DESC: CE501报文业务表 | ||
| 8 | + * TABLE: ICLEARIMP.T_BIZ_CE_INFO | ||
| 9 | + */ | ||
| 10 | +public class CeInfo implements Serializable { | ||
| 11 | + /** | ||
| 12 | + * ID,自动增加 | ||
| 13 | + */ | ||
| 14 | + private Long id; | ||
| 15 | + | ||
| 16 | + /** | ||
| 17 | + * 运单号 | ||
| 18 | + */ | ||
| 19 | + private String consignmentCode; | ||
| 20 | + | ||
| 21 | + /** | ||
| 22 | + * DM发送时间 | ||
| 23 | + */ | ||
| 24 | + private Date sendTime; | ||
| 25 | + | ||
| 26 | + /** | ||
| 27 | + * 预计取件时间 | ||
| 28 | + */ | ||
| 29 | + private Date shipDate; | ||
| 30 | + | ||
| 31 | + /** | ||
| 32 | + * 发货人国家 | ||
| 33 | + */ | ||
| 34 | + private String shipperCountry; | ||
| 35 | + | ||
| 36 | + /** | ||
| 37 | + * 收件人国家 | ||
| 38 | + */ | ||
| 39 | + private String recipientCountry; | ||
| 40 | + | ||
| 41 | + /** | ||
| 42 | + * 目的国口岸 | ||
| 43 | + */ | ||
| 44 | + private String destIataCode; | ||
| 45 | + | ||
| 46 | + /** | ||
| 47 | + * 创建时间 | ||
| 48 | + */ | ||
| 49 | + private Date createTime; | ||
| 50 | + | ||
| 51 | + /** | ||
| 52 | + * 创建人ID,关联用户表ID | ||
| 53 | + */ | ||
| 54 | + private Long createUserId; | ||
| 55 | + | ||
| 56 | + /** | ||
| 57 | + * 创建人名称 | ||
| 58 | + */ | ||
| 59 | + private String createUserName; | ||
| 60 | + | ||
| 61 | + /** | ||
| 62 | + * 修改时间 | ||
| 63 | + */ | ||
| 64 | + private Date modifyTime; | ||
| 65 | + | ||
| 66 | + /** | ||
| 67 | + * 修改人ID,关联用户表ID | ||
| 68 | + */ | ||
| 69 | + private Long modifyUserId; | ||
| 70 | + | ||
| 71 | + /** | ||
| 72 | + * 修改人名称 | ||
| 73 | + */ | ||
| 74 | + private String modifyUserName; | ||
| 75 | + | ||
| 76 | + /** | ||
| 77 | + * 原产国全称 | ||
| 78 | + */ | ||
| 79 | + private String countOrigin; | ||
| 80 | + | ||
| 81 | + /** | ||
| 82 | + * 目的国全称 | ||
| 83 | + */ | ||
| 84 | + private String destinationCountry; | ||
| 85 | + | ||
| 86 | + /** | ||
| 87 | + * 申报币制 | ||
| 88 | + */ | ||
| 89 | + private String customsCurrency; | ||
| 90 | + | ||
| 91 | + /** | ||
| 92 | + * 申报价格 | ||
| 93 | + */ | ||
| 94 | + private Long customsValue; | ||
| 95 | + | ||
| 96 | + /** | ||
| 97 | + * 重量 | ||
| 98 | + */ | ||
| 99 | + private Long weight; | ||
| 100 | + | ||
| 101 | + /** | ||
| 102 | + * 重量单位 | ||
| 103 | + */ | ||
| 104 | + private Long weightunit; | ||
| 105 | + | ||
| 106 | + /** | ||
| 107 | + * 扫描状态日期 | ||
| 108 | + */ | ||
| 109 | + private Date scandate; | ||
| 110 | + | ||
| 111 | + /** | ||
| 112 | + * 发货联系人姓名 | ||
| 113 | + */ | ||
| 114 | + private String shipperContactName; | ||
| 115 | + | ||
| 116 | + /** | ||
| 117 | + * 发货人手机号 | ||
| 118 | + */ | ||
| 119 | + private String shipperPhone; | ||
| 120 | + | ||
| 121 | + /** | ||
| 122 | + * 发货人计费账号 | ||
| 123 | + */ | ||
| 124 | + private String shipperAccount; | ||
| 125 | + | ||
| 126 | + /** | ||
| 127 | + * 发货人公司 | ||
| 128 | + */ | ||
| 129 | + private String shipperCompany; | ||
| 130 | + | ||
| 131 | + /** | ||
| 132 | + * 发货人地址1 | ||
| 133 | + */ | ||
| 134 | + private String shipperAddrLine1; | ||
| 135 | + | ||
| 136 | + /** | ||
| 137 | + * 发货人地址2 | ||
| 138 | + */ | ||
| 139 | + private String shipperAddrLine2; | ||
| 140 | + | ||
| 141 | + /** | ||
| 142 | + * 发货人城市 | ||
| 143 | + */ | ||
| 144 | + private String shipperCity; | ||
| 145 | + | ||
| 146 | + /** | ||
| 147 | + * 发货人邮箱 | ||
| 148 | + */ | ||
| 149 | + private String shipperEmail; | ||
| 150 | + | ||
| 151 | + /** | ||
| 152 | + * 收件联系人姓名 | ||
| 153 | + */ | ||
| 154 | + private String recipientContactName; | ||
| 155 | + | ||
| 156 | + /** | ||
| 157 | + * 收件人手机号 | ||
| 158 | + */ | ||
| 159 | + private String recipientPhone; | ||
| 160 | + | ||
| 161 | + /** | ||
| 162 | + * 收件人公司 | ||
| 163 | + */ | ||
| 164 | + private String recipientCompany; | ||
| 165 | + | ||
| 166 | + /** | ||
| 167 | + * 收件人地址1 | ||
| 168 | + */ | ||
| 169 | + private String recipientAddrLine1; | ||
| 170 | + | ||
| 171 | + /** | ||
| 172 | + * 收件人地址2 | ||
| 173 | + */ | ||
| 174 | + private String recipientAddrLine2; | ||
| 175 | + | ||
| 176 | + /** | ||
| 177 | + * 收件人地址3 | ||
| 178 | + */ | ||
| 179 | + private String recipientAddrLine3; | ||
| 180 | + | ||
| 181 | + /** | ||
| 182 | + * 收件人城市 | ||
| 183 | + */ | ||
| 184 | + private String recipientCity; | ||
| 185 | + | ||
| 186 | + private static final long serialVersionUID = 1L; | ||
| 187 | + | ||
| 188 | + public Long getId() { | ||
| 189 | + return id; | ||
| 190 | + } | ||
| 191 | + | ||
| 192 | + public void setId(Long id) { | ||
| 193 | + this.id = id; | ||
| 194 | + } | ||
| 195 | + | ||
| 196 | + public String getConsignmentCode() { | ||
| 197 | + return consignmentCode; | ||
| 198 | + } | ||
| 199 | + | ||
| 200 | + public void setConsignmentCode(String consignmentCode) { | ||
| 201 | + this.consignmentCode = consignmentCode == null ? null : consignmentCode.trim(); | ||
| 202 | + } | ||
| 203 | + | ||
| 204 | + public Date getSendTime() { | ||
| 205 | + return sendTime; | ||
| 206 | + } | ||
| 207 | + | ||
| 208 | + public void setSendTime(Date sendTime) { | ||
| 209 | + this.sendTime = sendTime; | ||
| 210 | + } | ||
| 211 | + | ||
| 212 | + public Date getShipDate() { | ||
| 213 | + return shipDate; | ||
| 214 | + } | ||
| 215 | + | ||
| 216 | + public void setShipDate(Date shipDate) { | ||
| 217 | + this.shipDate = shipDate; | ||
| 218 | + } | ||
| 219 | + | ||
| 220 | + public String getShipperCountry() { | ||
| 221 | + return shipperCountry; | ||
| 222 | + } | ||
| 223 | + | ||
| 224 | + public void setShipperCountry(String shipperCountry) { | ||
| 225 | + this.shipperCountry = shipperCountry == null ? null : shipperCountry.trim(); | ||
| 226 | + } | ||
| 227 | + | ||
| 228 | + public String getRecipientCountry() { | ||
| 229 | + return recipientCountry; | ||
| 230 | + } | ||
| 231 | + | ||
| 232 | + public void setRecipientCountry(String recipientCountry) { | ||
| 233 | + this.recipientCountry = recipientCountry == null ? null : recipientCountry.trim(); | ||
| 234 | + } | ||
| 235 | + | ||
| 236 | + public String getDestIataCode() { | ||
| 237 | + return destIataCode; | ||
| 238 | + } | ||
| 239 | + | ||
| 240 | + public void setDestIataCode(String destIataCode) { | ||
| 241 | + this.destIataCode = destIataCode == null ? null : destIataCode.trim(); | ||
| 242 | + } | ||
| 243 | + | ||
| 244 | + public Date getCreateTime() { | ||
| 245 | + return createTime; | ||
| 246 | + } | ||
| 247 | + | ||
| 248 | + public void setCreateTime(Date createTime) { | ||
| 249 | + this.createTime = createTime; | ||
| 250 | + } | ||
| 251 | + | ||
| 252 | + public Long getCreateUserId() { | ||
| 253 | + return createUserId; | ||
| 254 | + } | ||
| 255 | + | ||
| 256 | + public void setCreateUserId(Long createUserId) { | ||
| 257 | + this.createUserId = createUserId; | ||
| 258 | + } | ||
| 259 | + | ||
| 260 | + public String getCreateUserName() { | ||
| 261 | + return createUserName; | ||
| 262 | + } | ||
| 263 | + | ||
| 264 | + public void setCreateUserName(String createUserName) { | ||
| 265 | + this.createUserName = createUserName == null ? null : createUserName.trim(); | ||
| 266 | + } | ||
| 267 | + | ||
| 268 | + public Date getModifyTime() { | ||
| 269 | + return modifyTime; | ||
| 270 | + } | ||
| 271 | + | ||
| 272 | + public void setModifyTime(Date modifyTime) { | ||
| 273 | + this.modifyTime = modifyTime; | ||
| 274 | + } | ||
| 275 | + | ||
| 276 | + public Long getModifyUserId() { | ||
| 277 | + return modifyUserId; | ||
| 278 | + } | ||
| 279 | + | ||
| 280 | + public void setModifyUserId(Long modifyUserId) { | ||
| 281 | + this.modifyUserId = modifyUserId; | ||
| 282 | + } | ||
| 283 | + | ||
| 284 | + public String getModifyUserName() { | ||
| 285 | + return modifyUserName; | ||
| 286 | + } | ||
| 287 | + | ||
| 288 | + public void setModifyUserName(String modifyUserName) { | ||
| 289 | + this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim(); | ||
| 290 | + } | ||
| 291 | + | ||
| 292 | + public String getCountOrigin() { | ||
| 293 | + return countOrigin; | ||
| 294 | + } | ||
| 295 | + | ||
| 296 | + public void setCountOrigin(String countOrigin) { | ||
| 297 | + this.countOrigin = countOrigin == null ? null : countOrigin.trim(); | ||
| 298 | + } | ||
| 299 | + | ||
| 300 | + public String getDestinationCountry() { | ||
| 301 | + return destinationCountry; | ||
| 302 | + } | ||
| 303 | + | ||
| 304 | + public void setDestinationCountry(String destinationCountry) { | ||
| 305 | + this.destinationCountry = destinationCountry == null ? null : destinationCountry.trim(); | ||
| 306 | + } | ||
| 307 | + | ||
| 308 | + public String getCustomsCurrency() { | ||
| 309 | + return customsCurrency; | ||
| 310 | + } | ||
| 311 | + | ||
| 312 | + public void setCustomsCurrency(String customsCurrency) { | ||
| 313 | + this.customsCurrency = customsCurrency == null ? null : customsCurrency.trim(); | ||
| 314 | + } | ||
| 315 | + | ||
| 316 | + public Long getCustomsValue() { | ||
| 317 | + return customsValue; | ||
| 318 | + } | ||
| 319 | + | ||
| 320 | + public void setCustomsValue(Long customsValue) { | ||
| 321 | + this.customsValue = customsValue; | ||
| 322 | + } | ||
| 323 | + | ||
| 324 | + public Long getWeight() { | ||
| 325 | + return weight; | ||
| 326 | + } | ||
| 327 | + | ||
| 328 | + public void setWeight(Long weight) { | ||
| 329 | + this.weight = weight; | ||
| 330 | + } | ||
| 331 | + | ||
| 332 | + public Long getWeightunit() { | ||
| 333 | + return weightunit; | ||
| 334 | + } | ||
| 335 | + | ||
| 336 | + public void setWeightunit(Long weightunit) { | ||
| 337 | + this.weightunit = weightunit; | ||
| 338 | + } | ||
| 339 | + | ||
| 340 | + public Date getScandate() { | ||
| 341 | + return scandate; | ||
| 342 | + } | ||
| 343 | + | ||
| 344 | + public void setScandate(Date scandate) { | ||
| 345 | + this.scandate = scandate; | ||
| 346 | + } | ||
| 347 | + | ||
| 348 | + public String getShipperContactName() { | ||
| 349 | + return shipperContactName; | ||
| 350 | + } | ||
| 351 | + | ||
| 352 | + public void setShipperContactName(String shipperContactName) { | ||
| 353 | + this.shipperContactName = shipperContactName == null ? null : shipperContactName.trim(); | ||
| 354 | + } | ||
| 355 | + | ||
| 356 | + public String getShipperPhone() { | ||
| 357 | + return shipperPhone; | ||
| 358 | + } | ||
| 359 | + | ||
| 360 | + public void setShipperPhone(String shipperPhone) { | ||
| 361 | + this.shipperPhone = shipperPhone == null ? null : shipperPhone.trim(); | ||
| 362 | + } | ||
| 363 | + | ||
| 364 | + public String getShipperAccount() { | ||
| 365 | + return shipperAccount; | ||
| 366 | + } | ||
| 367 | + | ||
| 368 | + public void setShipperAccount(String shipperAccount) { | ||
| 369 | + this.shipperAccount = shipperAccount == null ? null : shipperAccount.trim(); | ||
| 370 | + } | ||
| 371 | + | ||
| 372 | + public String getShipperCompany() { | ||
| 373 | + return shipperCompany; | ||
| 374 | + } | ||
| 375 | + | ||
| 376 | + public void setShipperCompany(String shipperCompany) { | ||
| 377 | + this.shipperCompany = shipperCompany == null ? null : shipperCompany.trim(); | ||
| 378 | + } | ||
| 379 | + | ||
| 380 | + public String getShipperAddrLine1() { | ||
| 381 | + return shipperAddrLine1; | ||
| 382 | + } | ||
| 383 | + | ||
| 384 | + public void setShipperAddrLine1(String shipperAddrLine1) { | ||
| 385 | + this.shipperAddrLine1 = shipperAddrLine1 == null ? null : shipperAddrLine1.trim(); | ||
| 386 | + } | ||
| 387 | + | ||
| 388 | + public String getShipperAddrLine2() { | ||
| 389 | + return shipperAddrLine2; | ||
| 390 | + } | ||
| 391 | + | ||
| 392 | + public void setShipperAddrLine2(String shipperAddrLine2) { | ||
| 393 | + this.shipperAddrLine2 = shipperAddrLine2 == null ? null : shipperAddrLine2.trim(); | ||
| 394 | + } | ||
| 395 | + | ||
| 396 | + public String getShipperCity() { | ||
| 397 | + return shipperCity; | ||
| 398 | + } | ||
| 399 | + | ||
| 400 | + public void setShipperCity(String shipperCity) { | ||
| 401 | + this.shipperCity = shipperCity == null ? null : shipperCity.trim(); | ||
| 402 | + } | ||
| 403 | + | ||
| 404 | + public String getShipperEmail() { | ||
| 405 | + return shipperEmail; | ||
| 406 | + } | ||
| 407 | + | ||
| 408 | + public void setShipperEmail(String shipperEmail) { | ||
| 409 | + this.shipperEmail = shipperEmail == null ? null : shipperEmail.trim(); | ||
| 410 | + } | ||
| 411 | + | ||
| 412 | + public String getRecipientContactName() { | ||
| 413 | + return recipientContactName; | ||
| 414 | + } | ||
| 415 | + | ||
| 416 | + public void setRecipientContactName(String recipientContactName) { | ||
| 417 | + this.recipientContactName = recipientContactName == null ? null : recipientContactName.trim(); | ||
| 418 | + } | ||
| 419 | + | ||
| 420 | + public String getRecipientPhone() { | ||
| 421 | + return recipientPhone; | ||
| 422 | + } | ||
| 423 | + | ||
| 424 | + public void setRecipientPhone(String recipientPhone) { | ||
| 425 | + this.recipientPhone = recipientPhone == null ? null : recipientPhone.trim(); | ||
| 426 | + } | ||
| 427 | + | ||
| 428 | + public String getRecipientCompany() { | ||
| 429 | + return recipientCompany; | ||
| 430 | + } | ||
| 431 | + | ||
| 432 | + public void setRecipientCompany(String recipientCompany) { | ||
| 433 | + this.recipientCompany = recipientCompany == null ? null : recipientCompany.trim(); | ||
| 434 | + } | ||
| 435 | + | ||
| 436 | + public String getRecipientAddrLine1() { | ||
| 437 | + return recipientAddrLine1; | ||
| 438 | + } | ||
| 439 | + | ||
| 440 | + public void setRecipientAddrLine1(String recipientAddrLine1) { | ||
| 441 | + this.recipientAddrLine1 = recipientAddrLine1 == null ? null : recipientAddrLine1.trim(); | ||
| 442 | + } | ||
| 443 | + | ||
| 444 | + public String getRecipientAddrLine2() { | ||
| 445 | + return recipientAddrLine2; | ||
| 446 | + } | ||
| 447 | + | ||
| 448 | + public void setRecipientAddrLine2(String recipientAddrLine2) { | ||
| 449 | + this.recipientAddrLine2 = recipientAddrLine2 == null ? null : recipientAddrLine2.trim(); | ||
| 450 | + } | ||
| 451 | + | ||
| 452 | + public String getRecipientAddrLine3() { | ||
| 453 | + return recipientAddrLine3; | ||
| 454 | + } | ||
| 455 | + | ||
| 456 | + public void setRecipientAddrLine3(String recipientAddrLine3) { | ||
| 457 | + this.recipientAddrLine3 = recipientAddrLine3 == null ? null : recipientAddrLine3.trim(); | ||
| 458 | + } | ||
| 459 | + | ||
| 460 | + public String getRecipientCity() { | ||
| 461 | + return recipientCity; | ||
| 462 | + } | ||
| 463 | + | ||
| 464 | + public void setRecipientCity(String recipientCity) { | ||
| 465 | + this.recipientCity = recipientCity == null ? null : recipientCity.trim(); | ||
| 466 | + } | ||
| 467 | + | ||
| 468 | + @Override | ||
| 469 | + public String toString() { | ||
| 470 | + StringBuilder sb = new StringBuilder(); | ||
| 471 | + sb.append(getClass().getSimpleName()); | ||
| 472 | + sb.append(" ["); | ||
| 473 | + sb.append("Hash = ").append(hashCode()); | ||
| 474 | + sb.append(", id=").append(id); | ||
| 475 | + sb.append(", consignmentCode=").append(consignmentCode); | ||
| 476 | + sb.append(", sendTime=").append(sendTime); | ||
| 477 | + sb.append(", shipDate=").append(shipDate); | ||
| 478 | + sb.append(", shipperCountry=").append(shipperCountry); | ||
| 479 | + sb.append(", recipientCountry=").append(recipientCountry); | ||
| 480 | + sb.append(", destIataCode=").append(destIataCode); | ||
| 481 | + sb.append(", createTime=").append(createTime); | ||
| 482 | + sb.append(", createUserId=").append(createUserId); | ||
| 483 | + sb.append(", createUserName=").append(createUserName); | ||
| 484 | + sb.append(", modifyTime=").append(modifyTime); | ||
| 485 | + sb.append(", modifyUserId=").append(modifyUserId); | ||
| 486 | + sb.append(", modifyUserName=").append(modifyUserName); | ||
| 487 | + sb.append(", countOrigin=").append(countOrigin); | ||
| 488 | + sb.append(", destinationCountry=").append(destinationCountry); | ||
| 489 | + sb.append(", customsCurrency=").append(customsCurrency); | ||
| 490 | + sb.append(", customsValue=").append(customsValue); | ||
| 491 | + sb.append(", weight=").append(weight); | ||
| 492 | + sb.append(", weightunit=").append(weightunit); | ||
| 493 | + sb.append(", scandate=").append(scandate); | ||
| 494 | + sb.append(", shipperContactName=").append(shipperContactName); | ||
| 495 | + sb.append(", shipperPhone=").append(shipperPhone); | ||
| 496 | + sb.append(", shipperAccount=").append(shipperAccount); | ||
| 497 | + sb.append(", shipperCompany=").append(shipperCompany); | ||
| 498 | + sb.append(", shipperAddrLine1=").append(shipperAddrLine1); | ||
| 499 | + sb.append(", shipperAddrLine2=").append(shipperAddrLine2); | ||
| 500 | + sb.append(", shipperCity=").append(shipperCity); | ||
| 501 | + sb.append(", shipperEmail=").append(shipperEmail); | ||
| 502 | + sb.append(", recipientContactName=").append(recipientContactName); | ||
| 503 | + sb.append(", recipientPhone=").append(recipientPhone); | ||
| 504 | + sb.append(", recipientCompany=").append(recipientCompany); | ||
| 505 | + sb.append(", recipientAddrLine1=").append(recipientAddrLine1); | ||
| 506 | + sb.append(", recipientAddrLine2=").append(recipientAddrLine2); | ||
| 507 | + sb.append(", recipientAddrLine3=").append(recipientAddrLine3); | ||
| 508 | + sb.append(", recipientCity=").append(recipientCity); | ||
| 509 | + sb.append(", serialVersionUID=").append(serialVersionUID); | ||
| 510 | + sb.append("]"); | ||
| 511 | + return sb.toString(); | ||
| 512 | + } | ||
| 513 | +} | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| ... | @@ -85,17 +85,13 @@ | ... | @@ -85,17 +85,13 @@ |
| 85 | <!-- selectByExampleQueryId="true">--> | 85 | <!-- selectByExampleQueryId="true">--> |
| 86 | <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_LOG_EMAIL_HISTORY.NEXTVAL FROM DUAL" />--> | 86 | <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_LOG_EMAIL_HISTORY.NEXTVAL FROM DUAL" />--> |
| 87 | <!-- </table>--> | 87 | <!-- </table>--> |
| 88 | - | ||
| 89 | - | ||
| 90 | - | ||
| 91 | - | ||
| 92 | <!-- <table tableName="T_BIZ_ATTACHMENT" domainObjectName="Attachment"--> | 88 | <!-- <table tableName="T_BIZ_ATTACHMENT" domainObjectName="Attachment"--> |
| 93 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> | 89 | <!-- enableCountByExample="true" enableUpdateByExample="true"--> |
| 94 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> | 90 | <!-- enableDeleteByExample="true" enableSelectByExample="true"--> |
| 95 | <!-- selectByExampleQueryId="true">--> | 91 | <!-- selectByExampleQueryId="true">--> |
| 96 | <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_ATTACHMENT.NEXTVAL FROM DUAL" />--> | 92 | <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_ATTACHMENT.NEXTVAL FROM DUAL" />--> |
| 97 | <!-- </table>--> | 93 | <!-- </table>--> |
| 98 | - <table tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo" | 94 | + <table schema="ICLEARIMP" tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo" |
| 99 | enableCountByExample="true" enableUpdateByExample="true" | 95 | enableCountByExample="true" enableUpdateByExample="true" |
| 100 | enableDeleteByExample="true" enableSelectByExample="true" | 96 | enableDeleteByExample="true" enableSelectByExample="true" |
| 101 | selectByExampleQueryId="true"> | 97 | selectByExampleQueryId="true"> | ... | ... |
| ... | @@ -11,7 +11,7 @@ import org.springframework.web.WebApplicationInitializer; | ... | @@ -11,7 +11,7 @@ import org.springframework.web.WebApplicationInitializer; |
| 11 | import springfox.documentation.swagger2.annotations.EnableSwagger2; | 11 | import springfox.documentation.swagger2.annotations.EnableSwagger2; |
| 12 | 12 | ||
| 13 | @SpringBootApplication(exclude = SecurityAutoConfiguration.class) | 13 | @SpringBootApplication(exclude = SecurityAutoConfiguration.class) |
| 14 | -@MapperScan("com.fedex.connect.kafka.repository.dao") | 14 | +@MapperScan({"com.fedex.connect.common.dao.*.**","com.fedex.connect.kafka.repository.dao.*"}) |
| 15 | @EnableTransactionManagement | 15 | @EnableTransactionManagement |
| 16 | @EnableSwagger2 | 16 | @EnableSwagger2 |
| 17 | public class KafkaApplication extends SpringBootServletInitializer implements WebApplicationInitializer { | 17 | public class KafkaApplication extends SpringBootServletInitializer implements WebApplicationInitializer { | ... | ... |
| 1 | package com.fedex.connect.kafka.repository.base; | 1 | package com.fedex.connect.kafka.repository.base; |
| 2 | 2 | ||
| 3 | -import com.fedex.connect.common.dao.biz.CeInfoMapper; | ||
| 4 | import com.fedex.connect.common.dao.sys.KafkaStorageHistoryMapper; | 3 | import com.fedex.connect.common.dao.sys.KafkaStorageHistoryMapper; |
| 5 | import com.fedex.connect.common.dao.sys.KafkaTemporaryStorageMapper; | 4 | import com.fedex.connect.common.dao.sys.KafkaTemporaryStorageMapper; |
| 6 | import com.fedex.connect.kafka.repository.dao.CeInfoMapperExt; | 5 | import com.fedex.connect.kafka.repository.dao.CeInfoMapperExt; | ... | ... |
| 1 | package com.fedex.connect.kafka.repository.dao; | 1 | package com.fedex.connect.kafka.repository.dao; |
| 2 | 2 | ||
| 3 | -import com.fedex.connect.common.model.biz.CeInfo; | ||
| 4 | import org.apache.ibatis.annotations.Mapper; | 3 | import org.apache.ibatis.annotations.Mapper; |
| 5 | import org.apache.ibatis.annotations.Param; | 4 | import org.apache.ibatis.annotations.Param; |
| 6 | import org.apache.ibatis.annotations.Select; | 5 | import org.apache.ibatis.annotations.Select; | ... | ... |
| 1 | package com.fedex.connect.kafka.repository.repo.impl; | 1 | package com.fedex.connect.kafka.repository.repo.impl; |
| 2 | 2 | ||
| 3 | -import com.fedex.connect.common.model.biz.CeInfo; | ||
| 4 | import com.fedex.connect.kafka.repository.base.AbstractDaoRepository; | 3 | import com.fedex.connect.kafka.repository.base.AbstractDaoRepository; |
| 5 | import com.fedex.connect.kafka.repository.repo.ICeInfoRepository; | 4 | import com.fedex.connect.kafka.repository.repo.ICeInfoRepository; |
| 6 | import org.springframework.stereotype.Repository; | 5 | import org.springframework.stereotype.Repository; | ... | ... |
| ... | @@ -3,7 +3,6 @@ package com.fedex.connect.kafka.service.impl; | ... | @@ -3,7 +3,6 @@ package com.fedex.connect.kafka.service.impl; |
| 3 | import com.alibaba.fastjson.JSONObject; | 3 | import com.alibaba.fastjson.JSONObject; |
| 4 | import com.fedex.connect.common.dependencies.util.DateUtil; | 4 | import com.fedex.connect.common.dependencies.util.DateUtil; |
| 5 | import com.fedex.connect.common.dependencies.util.Utils; | 5 | import com.fedex.connect.common.dependencies.util.Utils; |
| 6 | -import com.fedex.connect.common.model.biz.CeInfo; | ||
| 7 | import com.fedex.connect.common.model.sys.KafkaTemporaryStorage; | 6 | import com.fedex.connect.common.model.sys.KafkaTemporaryStorage; |
| 8 | import com.fedex.connect.kafka.constants.Constant; | 7 | import com.fedex.connect.kafka.constants.Constant; |
| 9 | import com.fedex.connect.kafka.data.dto.DmProcessResults; | 8 | import com.fedex.connect.kafka.data.dto.DmProcessResults; | ... | ... |
| 1 | +package com.fedex.connect.manager; | ||
| 2 | + | ||
| 3 | +import org.mybatis.spring.annotation.MapperScan; | ||
| 4 | +import org.springframework.boot.SpringApplication; | ||
| 5 | +import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
| 6 | +import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; | ||
| 7 | +import org.springframework.boot.builder.SpringApplicationBuilder; | ||
| 8 | +import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; | ||
| 9 | +import org.springframework.transaction.annotation.EnableTransactionManagement; | ||
| 10 | +import org.springframework.web.WebApplicationInitializer; | ||
| 11 | +import springfox.documentation.swagger2.annotations.EnableSwagger2; | ||
| 12 | + | ||
| 13 | +@SpringBootApplication(exclude = SecurityAutoConfiguration.class) | ||
| 14 | +@MapperScan({"com.fedex.connect.common.dao.*.**","com.fedex.connect.manager.repository.dao.*"}) | ||
| 15 | +@EnableTransactionManagement | ||
| 16 | +@EnableSwagger2 | ||
| 17 | +public class ManagerApplication extends SpringBootServletInitializer implements WebApplicationInitializer { | ||
| 18 | + public static void main(String[] args) { | ||
| 19 | + SpringApplication.run(ManagerApplication.class, args); | ||
| 20 | + } | ||
| 21 | + | ||
| 22 | + @Override | ||
| 23 | + protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { | ||
| 24 | + return builder.sources(ManagerApplication.class); | ||
| 25 | + } | ||
| 26 | +} |
| 1 | -package com.fedex.connect.kafka.connect.manager; | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
| 1 | +package com.fedex.connect.task; | ||
| 2 | + | ||
| 3 | +import org.mybatis.spring.annotation.MapperScan; | ||
| 4 | +import org.springframework.boot.SpringApplication; | ||
| 5 | +import org.springframework.boot.autoconfigure.SpringBootApplication; | ||
| 6 | +import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration; | ||
| 7 | +import org.springframework.boot.builder.SpringApplicationBuilder; | ||
| 8 | +import org.springframework.boot.web.servlet.support.SpringBootServletInitializer; | ||
| 9 | +import org.springframework.transaction.annotation.EnableTransactionManagement; | ||
| 10 | +import org.springframework.web.WebApplicationInitializer; | ||
| 11 | +import springfox.documentation.swagger2.annotations.EnableSwagger2; | ||
| 12 | + | ||
| 13 | +@SpringBootApplication(exclude = SecurityAutoConfiguration.class) | ||
| 14 | +@MapperScan({"com.fedex.connect.common.dao.*.**","com.fedex.connect.task.repository.dao.*"}) | ||
| 15 | +@EnableTransactionManagement | ||
| 16 | +@EnableSwagger2 | ||
| 17 | +public class TaskApplication extends SpringBootServletInitializer implements WebApplicationInitializer { | ||
| 18 | + public static void main(String[] args) { | ||
| 19 | + SpringApplication.run(TaskApplication.class, args); | ||
| 20 | + } | ||
| 21 | + | ||
| 22 | + @Override | ||
| 23 | + protected SpringApplicationBuilder configure(SpringApplicationBuilder builder) { | ||
| 24 | + return builder.sources(TaskApplication.class); | ||
| 25 | + } | ||
| 26 | +} |
| 1 | -package com.fedex.connect.kafka.connect.task; | ||
| ... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or login to post a comment