tao.mo

common-dao、common-dependencies | 修改 | 国际化文件配置调整

mt
2024年11月11日19:13:36
...@@ -39,6 +39,8 @@ ...@@ -39,6 +39,8 @@
39 <result column="SHIPPER_EMAIL" jdbcType="VARCHAR" property="shipperEmail" /> 39 <result column="SHIPPER_EMAIL" jdbcType="VARCHAR" property="shipperEmail" />
40 <result column="SHIPPER_COUNTRY" jdbcType="VARCHAR" property="shipperCountry" /> 40 <result column="SHIPPER_COUNTRY" jdbcType="VARCHAR" property="shipperCountry" />
41 <result column="RECIPIENT_COUNTRY" jdbcType="VARCHAR" property="recipientCountry" /> 41 <result column="RECIPIENT_COUNTRY" jdbcType="VARCHAR" property="recipientCountry" />
42 + <result column="SHIPPER_REFERENCE" jdbcType="VARCHAR" property="shipperReference" />
43 + <result column="PIECES" jdbcType="NUMERIC" property="pieces" />
42 </resultMap> 44 </resultMap>
43 <sql id="Example_Where_Clause"> 45 <sql id="Example_Where_Clause">
44 <where> 46 <where>
...@@ -106,7 +108,7 @@ ...@@ -106,7 +108,7 @@
106 SHIPPER_POSTAL_CODE, RECIPIENT_CONTACT_NAME, RECIPIENT_PHONE, RECIPIENT_COMPANY, 108 SHIPPER_POSTAL_CODE, RECIPIENT_CONTACT_NAME, RECIPIENT_PHONE, RECIPIENT_COMPANY,
107 RECIPIENT_ADDR_LINE1, RECIPIENT_ADDR_LINE2, RECIPIENT_ADDR_LINE3, RECIPIENT_CITY, 109 RECIPIENT_ADDR_LINE1, RECIPIENT_ADDR_LINE2, RECIPIENT_ADDR_LINE3, RECIPIENT_CITY,
108 RECIPIENT_POSTAL_CODE, DOC_NONDOC_FLAG, USER_UUID, SHIPPER_EMAIL, SHIPPER_COUNTRY, 110 RECIPIENT_POSTAL_CODE, DOC_NONDOC_FLAG, USER_UUID, SHIPPER_EMAIL, SHIPPER_COUNTRY,
109 - RECIPIENT_COUNTRY 111 + RECIPIENT_COUNTRY, SHIPPER_REFERENCE, PIECES
110 </sql> 112 </sql>
111 <select id="selectByExample" parameterType="com.fedex.connect.common.model.biz.CeInfoExample" resultMap="BaseResultMap"> 113 <select id="selectByExample" parameterType="com.fedex.connect.common.model.biz.CeInfoExample" resultMap="BaseResultMap">
112 <include refid="OracleDialectPrefix" /> 114 <include refid="OracleDialectPrefix" />
...@@ -157,7 +159,8 @@ ...@@ -157,7 +159,8 @@
157 RECIPIENT_ADDR_LINE1, RECIPIENT_ADDR_LINE2, 159 RECIPIENT_ADDR_LINE1, RECIPIENT_ADDR_LINE2,
158 RECIPIENT_ADDR_LINE3, RECIPIENT_CITY, RECIPIENT_POSTAL_CODE, 160 RECIPIENT_ADDR_LINE3, RECIPIENT_CITY, RECIPIENT_POSTAL_CODE,
159 DOC_NONDOC_FLAG, USER_UUID, SHIPPER_EMAIL, 161 DOC_NONDOC_FLAG, USER_UUID, SHIPPER_EMAIL,
160 - SHIPPER_COUNTRY, RECIPIENT_COUNTRY) 162 + SHIPPER_COUNTRY, RECIPIENT_COUNTRY, SHIPPER_REFERENCE,
163 + PIECES)
161 values (#{id,jdbcType=NUMERIC}, #{consignmentCode,jdbcType=VARCHAR}, #{sendTime,jdbcType=TIMESTAMP}, 164 values (#{id,jdbcType=NUMERIC}, #{consignmentCode,jdbcType=VARCHAR}, #{sendTime,jdbcType=TIMESTAMP},
162 #{shipDate,jdbcType=TIMESTAMP}, #{destIataCode,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, 165 #{shipDate,jdbcType=TIMESTAMP}, #{destIataCode,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP},
163 #{createUserId,jdbcType=NUMERIC}, #{createUserName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, 166 #{createUserId,jdbcType=NUMERIC}, #{createUserName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP},
...@@ -170,7 +173,8 @@ ...@@ -170,7 +173,8 @@
170 #{recipientAddrLine1,jdbcType=VARCHAR}, #{recipientAddrLine2,jdbcType=VARCHAR}, 173 #{recipientAddrLine1,jdbcType=VARCHAR}, #{recipientAddrLine2,jdbcType=VARCHAR},
171 #{recipientAddrLine3,jdbcType=VARCHAR}, #{recipientCity,jdbcType=VARCHAR}, #{recipientPostalCode,jdbcType=VARCHAR}, 174 #{recipientAddrLine3,jdbcType=VARCHAR}, #{recipientCity,jdbcType=VARCHAR}, #{recipientPostalCode,jdbcType=VARCHAR},
172 #{docNondocFlag,jdbcType=VARCHAR}, #{userUuid,jdbcType=VARCHAR}, #{shipperEmail,jdbcType=VARCHAR}, 175 #{docNondocFlag,jdbcType=VARCHAR}, #{userUuid,jdbcType=VARCHAR}, #{shipperEmail,jdbcType=VARCHAR},
173 - #{shipperCountry,jdbcType=VARCHAR}, #{recipientCountry,jdbcType=VARCHAR}) 176 + #{shipperCountry,jdbcType=VARCHAR}, #{recipientCountry,jdbcType=VARCHAR}, #{shipperReference,jdbcType=VARCHAR},
177 + #{pieces,jdbcType=NUMERIC})
174 </insert> 178 </insert>
175 <insert id="insertSelective" parameterType="com.fedex.connect.common.model.biz.CeInfo"> 179 <insert id="insertSelective" parameterType="com.fedex.connect.common.model.biz.CeInfo">
176 <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> 180 <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
...@@ -287,6 +291,12 @@ ...@@ -287,6 +291,12 @@
287 <if test="recipientCountry != null"> 291 <if test="recipientCountry != null">
288 RECIPIENT_COUNTRY, 292 RECIPIENT_COUNTRY,
289 </if> 293 </if>
294 + <if test="shipperReference != null">
295 + SHIPPER_REFERENCE,
296 + </if>
297 + <if test="pieces != null">
298 + PIECES,
299 + </if>
290 </trim> 300 </trim>
291 <trim prefix="values (" suffix=")" suffixOverrides=","> 301 <trim prefix="values (" suffix=")" suffixOverrides=",">
292 #{id,jdbcType=NUMERIC}, 302 #{id,jdbcType=NUMERIC},
...@@ -398,6 +408,12 @@ ...@@ -398,6 +408,12 @@
398 <if test="recipientCountry != null"> 408 <if test="recipientCountry != null">
399 #{recipientCountry,jdbcType=VARCHAR}, 409 #{recipientCountry,jdbcType=VARCHAR},
400 </if> 410 </if>
411 + <if test="shipperReference != null">
412 + #{shipperReference,jdbcType=VARCHAR},
413 + </if>
414 + <if test="pieces != null">
415 + #{pieces,jdbcType=NUMERIC},
416 + </if>
401 </trim> 417 </trim>
402 </insert> 418 </insert>
403 <select id="countByExample" parameterType="com.fedex.connect.common.model.biz.CeInfoExample" resultType="java.lang.Long"> 419 <select id="countByExample" parameterType="com.fedex.connect.common.model.biz.CeInfoExample" resultType="java.lang.Long">
...@@ -520,6 +536,12 @@ ...@@ -520,6 +536,12 @@
520 <if test="record.recipientCountry != null"> 536 <if test="record.recipientCountry != null">
521 RECIPIENT_COUNTRY = #{record.recipientCountry,jdbcType=VARCHAR}, 537 RECIPIENT_COUNTRY = #{record.recipientCountry,jdbcType=VARCHAR},
522 </if> 538 </if>
539 + <if test="record.shipperReference != null">
540 + SHIPPER_REFERENCE = #{record.shipperReference,jdbcType=VARCHAR},
541 + </if>
542 + <if test="record.pieces != null">
543 + PIECES = #{record.pieces,jdbcType=NUMERIC},
544 + </if>
523 </set> 545 </set>
524 <if test="_parameter != null"> 546 <if test="_parameter != null">
525 <include refid="Update_By_Example_Where_Clause" /> 547 <include refid="Update_By_Example_Where_Clause" />
...@@ -563,7 +585,9 @@ ...@@ -563,7 +585,9 @@
563 USER_UUID = #{record.userUuid,jdbcType=VARCHAR}, 585 USER_UUID = #{record.userUuid,jdbcType=VARCHAR},
564 SHIPPER_EMAIL = #{record.shipperEmail,jdbcType=VARCHAR}, 586 SHIPPER_EMAIL = #{record.shipperEmail,jdbcType=VARCHAR},
565 SHIPPER_COUNTRY = #{record.shipperCountry,jdbcType=VARCHAR}, 587 SHIPPER_COUNTRY = #{record.shipperCountry,jdbcType=VARCHAR},
566 - RECIPIENT_COUNTRY = #{record.recipientCountry,jdbcType=VARCHAR} 588 + RECIPIENT_COUNTRY = #{record.recipientCountry,jdbcType=VARCHAR},
589 + SHIPPER_REFERENCE = #{record.shipperReference,jdbcType=VARCHAR},
590 + PIECES = #{record.pieces,jdbcType=NUMERIC}
567 <if test="_parameter != null"> 591 <if test="_parameter != null">
568 <include refid="Update_By_Example_Where_Clause" /> 592 <include refid="Update_By_Example_Where_Clause" />
569 </if> 593 </if>
...@@ -679,6 +703,12 @@ ...@@ -679,6 +703,12 @@
679 <if test="recipientCountry != null"> 703 <if test="recipientCountry != null">
680 RECIPIENT_COUNTRY = #{recipientCountry,jdbcType=VARCHAR}, 704 RECIPIENT_COUNTRY = #{recipientCountry,jdbcType=VARCHAR},
681 </if> 705 </if>
706 + <if test="shipperReference != null">
707 + SHIPPER_REFERENCE = #{shipperReference,jdbcType=VARCHAR},
708 + </if>
709 + <if test="pieces != null">
710 + PIECES = #{pieces,jdbcType=NUMERIC},
711 + </if>
682 </set> 712 </set>
683 where ID = #{id,jdbcType=NUMERIC} 713 where ID = #{id,jdbcType=NUMERIC}
684 </update> 714 </update>
...@@ -719,7 +749,9 @@ ...@@ -719,7 +749,9 @@
719 USER_UUID = #{userUuid,jdbcType=VARCHAR}, 749 USER_UUID = #{userUuid,jdbcType=VARCHAR},
720 SHIPPER_EMAIL = #{shipperEmail,jdbcType=VARCHAR}, 750 SHIPPER_EMAIL = #{shipperEmail,jdbcType=VARCHAR},
721 SHIPPER_COUNTRY = #{shipperCountry,jdbcType=VARCHAR}, 751 SHIPPER_COUNTRY = #{shipperCountry,jdbcType=VARCHAR},
722 - RECIPIENT_COUNTRY = #{recipientCountry,jdbcType=VARCHAR} 752 + RECIPIENT_COUNTRY = #{recipientCountry,jdbcType=VARCHAR},
753 + SHIPPER_REFERENCE = #{shipperReference,jdbcType=VARCHAR},
754 + PIECES = #{pieces,jdbcType=NUMERIC}
723 where ID = #{id,jdbcType=NUMERIC} 755 where ID = #{id,jdbcType=NUMERIC}
724 </update> 756 </update>
725 <sql id="OracleDialectPrefix"> 757 <sql id="OracleDialectPrefix">
......
...@@ -52,6 +52,8 @@ ...@@ -52,6 +52,8 @@
52 <result column="ORIGIN_COUNTRY_CODE" jdbcType="VARCHAR" property="originCountryCode" /> 52 <result column="ORIGIN_COUNTRY_CODE" jdbcType="VARCHAR" property="originCountryCode" />
53 <result column="SHIPPER_EMAIL" jdbcType="VARCHAR" property="shipperEmail" /> 53 <result column="SHIPPER_EMAIL" jdbcType="VARCHAR" property="shipperEmail" />
54 <result column="DESTINATION_COUNTRY_CODE" jdbcType="VARCHAR" property="destinationCountryCode" /> 54 <result column="DESTINATION_COUNTRY_CODE" jdbcType="VARCHAR" property="destinationCountryCode" />
55 + <result column="SHIPPER_REFERENCE" jdbcType="VARCHAR" property="shipperReference" />
56 + <result column="PIECES" jdbcType="NUMERIC" property="pieces" />
55 </resultMap> 57 </resultMap>
56 <sql id="Example_Where_Clause"> 58 <sql id="Example_Where_Clause">
57 <where> 59 <where>
...@@ -121,7 +123,8 @@ ...@@ -121,7 +123,8 @@
121 SUBMITTER, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, 123 SUBMITTER, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID,
122 MODIFY_USER_NAME, CE_INFO_ID, RECIPIENT_POSTAL_CODE, STATUS_CODE, STATUS_NAME, DOC_NONDOC_FLAG, 124 MODIFY_USER_NAME, CE_INFO_ID, RECIPIENT_POSTAL_CODE, STATUS_CODE, STATUS_NAME, DOC_NONDOC_FLAG,
123 USER_UUID, USER_INPUT_SHIPPER_ACCOUNT, USER_INPUT_ORIGIN_COUNTRY_CODE, USER_INPUT_ORIGIN_COUNTRY, 125 USER_UUID, USER_INPUT_SHIPPER_ACCOUNT, USER_INPUT_ORIGIN_COUNTRY_CODE, USER_INPUT_ORIGIN_COUNTRY,
124 - ORIGIN_COUNTRY_CODE, SHIPPER_EMAIL, DESTINATION_COUNTRY_CODE 126 + ORIGIN_COUNTRY_CODE, SHIPPER_EMAIL, DESTINATION_COUNTRY_CODE, SHIPPER_REFERENCE,
127 + PIECES
125 </sql> 128 </sql>
126 <select id="selectByExample" parameterType="com.fedex.connect.common.model.biz.ConsignmentExample" resultMap="BaseResultMap"> 129 <select id="selectByExample" parameterType="com.fedex.connect.common.model.biz.ConsignmentExample" resultMap="BaseResultMap">
127 <include refid="OracleDialectPrefix" /> 130 <include refid="OracleDialectPrefix" />
...@@ -177,7 +180,8 @@ ...@@ -177,7 +180,8 @@
177 STATUS_CODE, STATUS_NAME, DOC_NONDOC_FLAG, 180 STATUS_CODE, STATUS_NAME, DOC_NONDOC_FLAG,
178 USER_UUID, USER_INPUT_SHIPPER_ACCOUNT, USER_INPUT_ORIGIN_COUNTRY_CODE, 181 USER_UUID, USER_INPUT_SHIPPER_ACCOUNT, USER_INPUT_ORIGIN_COUNTRY_CODE,
179 USER_INPUT_ORIGIN_COUNTRY, ORIGIN_COUNTRY_CODE, 182 USER_INPUT_ORIGIN_COUNTRY, ORIGIN_COUNTRY_CODE,
180 - SHIPPER_EMAIL, DESTINATION_COUNTRY_CODE) 183 + SHIPPER_EMAIL, DESTINATION_COUNTRY_CODE, SHIPPER_REFERENCE,
184 + PIECES)
181 values (#{id,jdbcType=NUMERIC}, #{consignmentCode,jdbcType=VARCHAR}, #{shipDate,jdbcType=TIMESTAMP}, 185 values (#{id,jdbcType=NUMERIC}, #{consignmentCode,jdbcType=VARCHAR}, #{shipDate,jdbcType=TIMESTAMP},
182 #{destIataCode,jdbcType=VARCHAR}, #{originCountry,jdbcType=VARCHAR}, #{destinationCountry,jdbcType=VARCHAR}, 186 #{destIataCode,jdbcType=VARCHAR}, #{originCountry,jdbcType=VARCHAR}, #{destinationCountry,jdbcType=VARCHAR},
183 #{customsCurrency,jdbcType=VARCHAR}, #{customsValue,jdbcType=NUMERIC}, #{weight,jdbcType=NUMERIC}, 187 #{customsCurrency,jdbcType=VARCHAR}, #{customsValue,jdbcType=NUMERIC}, #{weight,jdbcType=NUMERIC},
...@@ -195,7 +199,8 @@ ...@@ -195,7 +199,8 @@
195 #{statusCode,jdbcType=VARCHAR}, #{statusName,jdbcType=VARCHAR}, #{docNondocFlag,jdbcType=VARCHAR}, 199 #{statusCode,jdbcType=VARCHAR}, #{statusName,jdbcType=VARCHAR}, #{docNondocFlag,jdbcType=VARCHAR},
196 #{userUuid,jdbcType=VARCHAR}, #{userInputShipperAccount,jdbcType=VARCHAR}, #{userInputOriginCountryCode,jdbcType=VARCHAR}, 200 #{userUuid,jdbcType=VARCHAR}, #{userInputShipperAccount,jdbcType=VARCHAR}, #{userInputOriginCountryCode,jdbcType=VARCHAR},
197 #{userInputOriginCountry,jdbcType=VARCHAR}, #{originCountryCode,jdbcType=VARCHAR}, 201 #{userInputOriginCountry,jdbcType=VARCHAR}, #{originCountryCode,jdbcType=VARCHAR},
198 - #{shipperEmail,jdbcType=VARCHAR}, #{destinationCountryCode,jdbcType=VARCHAR}) 202 + #{shipperEmail,jdbcType=VARCHAR}, #{destinationCountryCode,jdbcType=VARCHAR}, #{shipperReference,jdbcType=VARCHAR},
203 + #{pieces,jdbcType=NUMERIC})
199 </insert> 204 </insert>
200 <insert id="insertSelective" parameterType="com.fedex.connect.common.model.biz.Consignment"> 205 <insert id="insertSelective" parameterType="com.fedex.connect.common.model.biz.Consignment">
201 <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> 206 <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
...@@ -351,6 +356,12 @@ ...@@ -351,6 +356,12 @@
351 <if test="destinationCountryCode != null"> 356 <if test="destinationCountryCode != null">
352 DESTINATION_COUNTRY_CODE, 357 DESTINATION_COUNTRY_CODE,
353 </if> 358 </if>
359 + <if test="shipperReference != null">
360 + SHIPPER_REFERENCE,
361 + </if>
362 + <if test="pieces != null">
363 + PIECES,
364 + </if>
354 </trim> 365 </trim>
355 <trim prefix="values (" suffix=")" suffixOverrides=","> 366 <trim prefix="values (" suffix=")" suffixOverrides=",">
356 #{id,jdbcType=NUMERIC}, 367 #{id,jdbcType=NUMERIC},
...@@ -501,6 +512,12 @@ ...@@ -501,6 +512,12 @@
501 <if test="destinationCountryCode != null"> 512 <if test="destinationCountryCode != null">
502 #{destinationCountryCode,jdbcType=VARCHAR}, 513 #{destinationCountryCode,jdbcType=VARCHAR},
503 </if> 514 </if>
515 + <if test="shipperReference != null">
516 + #{shipperReference,jdbcType=VARCHAR},
517 + </if>
518 + <if test="pieces != null">
519 + #{pieces,jdbcType=NUMERIC},
520 + </if>
504 </trim> 521 </trim>
505 </insert> 522 </insert>
506 <select id="countByExample" parameterType="com.fedex.connect.common.model.biz.ConsignmentExample" resultType="java.lang.Long"> 523 <select id="countByExample" parameterType="com.fedex.connect.common.model.biz.ConsignmentExample" resultType="java.lang.Long">
...@@ -662,6 +679,12 @@ ...@@ -662,6 +679,12 @@
662 <if test="record.destinationCountryCode != null"> 679 <if test="record.destinationCountryCode != null">
663 DESTINATION_COUNTRY_CODE = #{record.destinationCountryCode,jdbcType=VARCHAR}, 680 DESTINATION_COUNTRY_CODE = #{record.destinationCountryCode,jdbcType=VARCHAR},
664 </if> 681 </if>
682 + <if test="record.shipperReference != null">
683 + SHIPPER_REFERENCE = #{record.shipperReference,jdbcType=VARCHAR},
684 + </if>
685 + <if test="record.pieces != null">
686 + PIECES = #{record.pieces,jdbcType=NUMERIC},
687 + </if>
665 </set> 688 </set>
666 <if test="_parameter != null"> 689 <if test="_parameter != null">
667 <include refid="Update_By_Example_Where_Clause" /> 690 <include refid="Update_By_Example_Where_Clause" />
...@@ -718,7 +741,9 @@ ...@@ -718,7 +741,9 @@
718 USER_INPUT_ORIGIN_COUNTRY = #{record.userInputOriginCountry,jdbcType=VARCHAR}, 741 USER_INPUT_ORIGIN_COUNTRY = #{record.userInputOriginCountry,jdbcType=VARCHAR},
719 ORIGIN_COUNTRY_CODE = #{record.originCountryCode,jdbcType=VARCHAR}, 742 ORIGIN_COUNTRY_CODE = #{record.originCountryCode,jdbcType=VARCHAR},
720 SHIPPER_EMAIL = #{record.shipperEmail,jdbcType=VARCHAR}, 743 SHIPPER_EMAIL = #{record.shipperEmail,jdbcType=VARCHAR},
721 - DESTINATION_COUNTRY_CODE = #{record.destinationCountryCode,jdbcType=VARCHAR} 744 + DESTINATION_COUNTRY_CODE = #{record.destinationCountryCode,jdbcType=VARCHAR},
745 + SHIPPER_REFERENCE = #{record.shipperReference,jdbcType=VARCHAR},
746 + PIECES = #{record.pieces,jdbcType=NUMERIC}
722 <if test="_parameter != null"> 747 <if test="_parameter != null">
723 <include refid="Update_By_Example_Where_Clause" /> 748 <include refid="Update_By_Example_Where_Clause" />
724 </if> 749 </if>
...@@ -873,6 +898,12 @@ ...@@ -873,6 +898,12 @@
873 <if test="destinationCountryCode != null"> 898 <if test="destinationCountryCode != null">
874 DESTINATION_COUNTRY_CODE = #{destinationCountryCode,jdbcType=VARCHAR}, 899 DESTINATION_COUNTRY_CODE = #{destinationCountryCode,jdbcType=VARCHAR},
875 </if> 900 </if>
901 + <if test="shipperReference != null">
902 + SHIPPER_REFERENCE = #{shipperReference,jdbcType=VARCHAR},
903 + </if>
904 + <if test="pieces != null">
905 + PIECES = #{pieces,jdbcType=NUMERIC},
906 + </if>
876 </set> 907 </set>
877 where ID = #{id,jdbcType=NUMERIC} 908 where ID = #{id,jdbcType=NUMERIC}
878 </update> 909 </update>
...@@ -926,7 +957,9 @@ ...@@ -926,7 +957,9 @@
926 USER_INPUT_ORIGIN_COUNTRY = #{userInputOriginCountry,jdbcType=VARCHAR}, 957 USER_INPUT_ORIGIN_COUNTRY = #{userInputOriginCountry,jdbcType=VARCHAR},
927 ORIGIN_COUNTRY_CODE = #{originCountryCode,jdbcType=VARCHAR}, 958 ORIGIN_COUNTRY_CODE = #{originCountryCode,jdbcType=VARCHAR},
928 SHIPPER_EMAIL = #{shipperEmail,jdbcType=VARCHAR}, 959 SHIPPER_EMAIL = #{shipperEmail,jdbcType=VARCHAR},
929 - DESTINATION_COUNTRY_CODE = #{destinationCountryCode,jdbcType=VARCHAR} 960 + DESTINATION_COUNTRY_CODE = #{destinationCountryCode,jdbcType=VARCHAR},
961 + SHIPPER_REFERENCE = #{shipperReference,jdbcType=VARCHAR},
962 + PIECES = #{pieces,jdbcType=NUMERIC}
930 where ID = #{id,jdbcType=NUMERIC} 963 where ID = #{id,jdbcType=NUMERIC}
931 </update> 964 </update>
932 <sql id="OracleDialectPrefix"> 965 <sql id="OracleDialectPrefix">
......
...@@ -18,6 +18,9 @@ ...@@ -18,6 +18,9 @@
18 <result column="MODIFY_TIME" jdbcType="TIMESTAMP" property="modifyTime" /> 18 <result column="MODIFY_TIME" jdbcType="TIMESTAMP" property="modifyTime" />
19 <result column="MODIFY_USER_ID" jdbcType="NUMERIC" property="modifyUserId" /> 19 <result column="MODIFY_USER_ID" jdbcType="NUMERIC" property="modifyUserId" />
20 <result column="MODIFY_USER_NAME" jdbcType="VARCHAR" property="modifyUserName" /> 20 <result column="MODIFY_USER_NAME" jdbcType="VARCHAR" property="modifyUserName" />
21 + <result column="REQUEST_TIME" jdbcType="TIMESTAMP" property="requestTime" />
22 + <result column="RESPONSE_TIME" jdbcType="TIMESTAMP" property="responseTime" />
23 + <result column="EXCEUTE_CONSUME" jdbcType="NUMERIC" property="exceuteConsume" />
21 </resultMap> 24 </resultMap>
22 <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.fedex.connect.common.model.log.Operation"> 25 <resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.fedex.connect.common.model.log.Operation">
23 <result column="REMARK" jdbcType="CLOB" property="remark" /> 26 <result column="REMARK" jdbcType="CLOB" property="remark" />
...@@ -83,7 +86,7 @@ ...@@ -83,7 +86,7 @@
83 <sql id="Base_Column_List"> 86 <sql id="Base_Column_List">
84 ID, USER_ID, LOGIN_NAME, USER_NAME, MODULE, DESCRIBE, URL, REQUEST_PARAMETERS, RESULT, 87 ID, USER_ID, LOGIN_NAME, USER_NAME, MODULE, DESCRIBE, URL, REQUEST_PARAMETERS, RESULT,
85 STATUS, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, 88 STATUS, CREATE_TIME, CREATE_USER_ID, CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID,
86 - MODIFY_USER_NAME 89 + MODIFY_USER_NAME, REQUEST_TIME, RESPONSE_TIME, EXCEUTE_CONSUME
87 </sql> 90 </sql>
88 <sql id="Blob_Column_List"> 91 <sql id="Blob_Column_List">
89 REMARK 92 REMARK
...@@ -149,13 +152,15 @@ ...@@ -149,13 +152,15 @@
149 URL, REQUEST_PARAMETERS, RESULT, 152 URL, REQUEST_PARAMETERS, RESULT,
150 STATUS, CREATE_TIME, CREATE_USER_ID, 153 STATUS, CREATE_TIME, CREATE_USER_ID,
151 CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID, 154 CREATE_USER_NAME, MODIFY_TIME, MODIFY_USER_ID,
152 - MODIFY_USER_NAME, REMARK) 155 + MODIFY_USER_NAME, REQUEST_TIME, RESPONSE_TIME,
156 + EXCEUTE_CONSUME, REMARK)
153 values (#{id,jdbcType=NUMERIC}, #{userId,jdbcType=NUMERIC}, #{loginName,jdbcType=VARCHAR}, 157 values (#{id,jdbcType=NUMERIC}, #{userId,jdbcType=NUMERIC}, #{loginName,jdbcType=VARCHAR},
154 #{userName,jdbcType=VARCHAR}, #{module,jdbcType=VARCHAR}, #{describe,jdbcType=VARCHAR}, 158 #{userName,jdbcType=VARCHAR}, #{module,jdbcType=VARCHAR}, #{describe,jdbcType=VARCHAR},
155 #{url,jdbcType=VARCHAR}, #{requestParameters,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR}, 159 #{url,jdbcType=VARCHAR}, #{requestParameters,jdbcType=VARCHAR}, #{result,jdbcType=VARCHAR},
156 #{status,jdbcType=NUMERIC}, #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC}, 160 #{status,jdbcType=NUMERIC}, #{createTime,jdbcType=TIMESTAMP}, #{createUserId,jdbcType=NUMERIC},
157 #{createUserName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC}, 161 #{createUserName,jdbcType=VARCHAR}, #{modifyTime,jdbcType=TIMESTAMP}, #{modifyUserId,jdbcType=NUMERIC},
158 - #{modifyUserName,jdbcType=VARCHAR}, #{remark,jdbcType=CLOB}) 162 + #{modifyUserName,jdbcType=VARCHAR}, #{requestTime,jdbcType=TIMESTAMP}, #{responseTime,jdbcType=TIMESTAMP},
163 + #{exceuteConsume,jdbcType=NUMERIC}, #{remark,jdbcType=CLOB})
159 </insert> 164 </insert>
160 <insert id="insertSelective" parameterType="com.fedex.connect.common.model.log.Operation"> 165 <insert id="insertSelective" parameterType="com.fedex.connect.common.model.log.Operation">
161 <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long"> 166 <selectKey keyProperty="id" order="BEFORE" resultType="java.lang.Long">
...@@ -209,6 +214,15 @@ ...@@ -209,6 +214,15 @@
209 <if test="modifyUserName != null"> 214 <if test="modifyUserName != null">
210 MODIFY_USER_NAME, 215 MODIFY_USER_NAME,
211 </if> 216 </if>
217 + <if test="requestTime != null">
218 + REQUEST_TIME,
219 + </if>
220 + <if test="responseTime != null">
221 + RESPONSE_TIME,
222 + </if>
223 + <if test="exceuteConsume != null">
224 + EXCEUTE_CONSUME,
225 + </if>
212 <if test="remark != null"> 226 <if test="remark != null">
213 REMARK, 227 REMARK,
214 </if> 228 </if>
...@@ -260,6 +274,15 @@ ...@@ -260,6 +274,15 @@
260 <if test="modifyUserName != null"> 274 <if test="modifyUserName != null">
261 #{modifyUserName,jdbcType=VARCHAR}, 275 #{modifyUserName,jdbcType=VARCHAR},
262 </if> 276 </if>
277 + <if test="requestTime != null">
278 + #{requestTime,jdbcType=TIMESTAMP},
279 + </if>
280 + <if test="responseTime != null">
281 + #{responseTime,jdbcType=TIMESTAMP},
282 + </if>
283 + <if test="exceuteConsume != null">
284 + #{exceuteConsume,jdbcType=NUMERIC},
285 + </if>
263 <if test="remark != null"> 286 <if test="remark != null">
264 #{remark,jdbcType=CLOB}, 287 #{remark,jdbcType=CLOB},
265 </if> 288 </if>
...@@ -322,6 +345,15 @@ ...@@ -322,6 +345,15 @@
322 <if test="record.modifyUserName != null"> 345 <if test="record.modifyUserName != null">
323 MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}, 346 MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
324 </if> 347 </if>
348 + <if test="record.requestTime != null">
349 + REQUEST_TIME = #{record.requestTime,jdbcType=TIMESTAMP},
350 + </if>
351 + <if test="record.responseTime != null">
352 + RESPONSE_TIME = #{record.responseTime,jdbcType=TIMESTAMP},
353 + </if>
354 + <if test="record.exceuteConsume != null">
355 + EXCEUTE_CONSUME = #{record.exceuteConsume,jdbcType=NUMERIC},
356 + </if>
325 <if test="record.remark != null"> 357 <if test="record.remark != null">
326 REMARK = #{record.remark,jdbcType=CLOB}, 358 REMARK = #{record.remark,jdbcType=CLOB},
327 </if> 359 </if>
...@@ -348,6 +380,9 @@ ...@@ -348,6 +380,9 @@
348 MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP}, 380 MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
349 MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC}, 381 MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
350 MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR}, 382 MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
383 + REQUEST_TIME = #{record.requestTime,jdbcType=TIMESTAMP},
384 + RESPONSE_TIME = #{record.responseTime,jdbcType=TIMESTAMP},
385 + EXCEUTE_CONSUME = #{record.exceuteConsume,jdbcType=NUMERIC},
351 REMARK = #{record.remark,jdbcType=CLOB} 386 REMARK = #{record.remark,jdbcType=CLOB}
352 <if test="_parameter != null"> 387 <if test="_parameter != null">
353 <include refid="Update_By_Example_Where_Clause" /> 388 <include refid="Update_By_Example_Where_Clause" />
...@@ -370,7 +405,10 @@ ...@@ -370,7 +405,10 @@
370 CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR}, 405 CREATE_USER_NAME = #{record.createUserName,jdbcType=VARCHAR},
371 MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP}, 406 MODIFY_TIME = #{record.modifyTime,jdbcType=TIMESTAMP},
372 MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC}, 407 MODIFY_USER_ID = #{record.modifyUserId,jdbcType=NUMERIC},
373 - MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR} 408 + MODIFY_USER_NAME = #{record.modifyUserName,jdbcType=VARCHAR},
409 + REQUEST_TIME = #{record.requestTime,jdbcType=TIMESTAMP},
410 + RESPONSE_TIME = #{record.responseTime,jdbcType=TIMESTAMP},
411 + EXCEUTE_CONSUME = #{record.exceuteConsume,jdbcType=NUMERIC}
374 <if test="_parameter != null"> 412 <if test="_parameter != null">
375 <include refid="Update_By_Example_Where_Clause" /> 413 <include refid="Update_By_Example_Where_Clause" />
376 </if> 414 </if>
...@@ -423,6 +461,15 @@ ...@@ -423,6 +461,15 @@
423 <if test="modifyUserName != null"> 461 <if test="modifyUserName != null">
424 MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}, 462 MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
425 </if> 463 </if>
464 + <if test="requestTime != null">
465 + REQUEST_TIME = #{requestTime,jdbcType=TIMESTAMP},
466 + </if>
467 + <if test="responseTime != null">
468 + RESPONSE_TIME = #{responseTime,jdbcType=TIMESTAMP},
469 + </if>
470 + <if test="exceuteConsume != null">
471 + EXCEUTE_CONSUME = #{exceuteConsume,jdbcType=NUMERIC},
472 + </if>
426 <if test="remark != null"> 473 <if test="remark != null">
427 REMARK = #{remark,jdbcType=CLOB}, 474 REMARK = #{remark,jdbcType=CLOB},
428 </if> 475 </if>
...@@ -446,6 +493,9 @@ ...@@ -446,6 +493,9 @@
446 MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP}, 493 MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
447 MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC}, 494 MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
448 MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR}, 495 MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
496 + REQUEST_TIME = #{requestTime,jdbcType=TIMESTAMP},
497 + RESPONSE_TIME = #{responseTime,jdbcType=TIMESTAMP},
498 + EXCEUTE_CONSUME = #{exceuteConsume,jdbcType=NUMERIC},
449 REMARK = #{remark,jdbcType=CLOB} 499 REMARK = #{remark,jdbcType=CLOB}
450 where ID = #{id,jdbcType=NUMERIC} 500 where ID = #{id,jdbcType=NUMERIC}
451 </update> 501 </update>
...@@ -465,7 +515,10 @@ ...@@ -465,7 +515,10 @@
465 CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR}, 515 CREATE_USER_NAME = #{createUserName,jdbcType=VARCHAR},
466 MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP}, 516 MODIFY_TIME = #{modifyTime,jdbcType=TIMESTAMP},
467 MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC}, 517 MODIFY_USER_ID = #{modifyUserId,jdbcType=NUMERIC},
468 - MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR} 518 + MODIFY_USER_NAME = #{modifyUserName,jdbcType=VARCHAR},
519 + REQUEST_TIME = #{requestTime,jdbcType=TIMESTAMP},
520 + RESPONSE_TIME = #{responseTime,jdbcType=TIMESTAMP},
521 + EXCEUTE_CONSUME = #{exceuteConsume,jdbcType=NUMERIC}
469 where ID = #{id,jdbcType=NUMERIC} 522 where ID = #{id,jdbcType=NUMERIC}
470 </update> 523 </update>
471 <sql id="OracleDialectPrefix"> 524 <sql id="OracleDialectPrefix">
......
...@@ -194,6 +194,16 @@ public class CeInfo implements Serializable { ...@@ -194,6 +194,16 @@ public class CeInfo implements Serializable {
194 */ 194 */
195 private String recipientCountry; 195 private String recipientCountry;
196 196
197 + /**
198 + * 参考信息
199 + */
200 + private String shipperReference;
201 +
202 + /**
203 + * 件数
204 + */
205 + private Long pieces;
206 +
197 private static final long serialVersionUID = 1L; 207 private static final long serialVersionUID = 1L;
198 208
199 public Long getId() { 209 public Long getId() {
...@@ -492,6 +502,22 @@ public class CeInfo implements Serializable { ...@@ -492,6 +502,22 @@ public class CeInfo implements Serializable {
492 this.recipientCountry = recipientCountry == null ? null : recipientCountry.trim(); 502 this.recipientCountry = recipientCountry == null ? null : recipientCountry.trim();
493 } 503 }
494 504
505 + public String getShipperReference() {
506 + return shipperReference;
507 + }
508 +
509 + public void setShipperReference(String shipperReference) {
510 + this.shipperReference = shipperReference == null ? null : shipperReference.trim();
511 + }
512 +
513 + public Long getPieces() {
514 + return pieces;
515 + }
516 +
517 + public void setPieces(Long pieces) {
518 + this.pieces = pieces;
519 + }
520 +
495 @Override 521 @Override
496 public String toString() { 522 public String toString() {
497 StringBuilder sb = new StringBuilder(); 523 StringBuilder sb = new StringBuilder();
...@@ -535,6 +561,8 @@ public class CeInfo implements Serializable { ...@@ -535,6 +561,8 @@ public class CeInfo implements Serializable {
535 sb.append(", shipperEmail=").append(shipperEmail); 561 sb.append(", shipperEmail=").append(shipperEmail);
536 sb.append(", shipperCountry=").append(shipperCountry); 562 sb.append(", shipperCountry=").append(shipperCountry);
537 sb.append(", recipientCountry=").append(recipientCountry); 563 sb.append(", recipientCountry=").append(recipientCountry);
564 + sb.append(", shipperReference=").append(shipperReference);
565 + sb.append(", pieces=").append(pieces);
538 sb.append(", serialVersionUID=").append(serialVersionUID); 566 sb.append(", serialVersionUID=").append(serialVersionUID);
539 sb.append("]"); 567 sb.append("]");
540 return sb.toString(); 568 return sb.toString();
......
...@@ -2615,6 +2615,136 @@ public class CeInfoExample { ...@@ -2615,6 +2615,136 @@ public class CeInfoExample {
2615 addCriterion("RECIPIENT_COUNTRY not between", value1, value2, "recipientCountry"); 2615 addCriterion("RECIPIENT_COUNTRY not between", value1, value2, "recipientCountry");
2616 return (Criteria) this; 2616 return (Criteria) this;
2617 } 2617 }
2618 +
2619 + public Criteria andShipperReferenceIsNull() {
2620 + addCriterion("SHIPPER_REFERENCE is null");
2621 + return (Criteria) this;
2622 + }
2623 +
2624 + public Criteria andShipperReferenceIsNotNull() {
2625 + addCriterion("SHIPPER_REFERENCE is not null");
2626 + return (Criteria) this;
2627 + }
2628 +
2629 + public Criteria andShipperReferenceEqualTo(String value) {
2630 + addCriterion("SHIPPER_REFERENCE =", value, "shipperReference");
2631 + return (Criteria) this;
2632 + }
2633 +
2634 + public Criteria andShipperReferenceNotEqualTo(String value) {
2635 + addCriterion("SHIPPER_REFERENCE <>", value, "shipperReference");
2636 + return (Criteria) this;
2637 + }
2638 +
2639 + public Criteria andShipperReferenceGreaterThan(String value) {
2640 + addCriterion("SHIPPER_REFERENCE >", value, "shipperReference");
2641 + return (Criteria) this;
2642 + }
2643 +
2644 + public Criteria andShipperReferenceGreaterThanOrEqualTo(String value) {
2645 + addCriterion("SHIPPER_REFERENCE >=", value, "shipperReference");
2646 + return (Criteria) this;
2647 + }
2648 +
2649 + public Criteria andShipperReferenceLessThan(String value) {
2650 + addCriterion("SHIPPER_REFERENCE <", value, "shipperReference");
2651 + return (Criteria) this;
2652 + }
2653 +
2654 + public Criteria andShipperReferenceLessThanOrEqualTo(String value) {
2655 + addCriterion("SHIPPER_REFERENCE <=", value, "shipperReference");
2656 + return (Criteria) this;
2657 + }
2658 +
2659 + public Criteria andShipperReferenceLike(String value) {
2660 + addCriterion("SHIPPER_REFERENCE like", value, "shipperReference");
2661 + return (Criteria) this;
2662 + }
2663 +
2664 + public Criteria andShipperReferenceNotLike(String value) {
2665 + addCriterion("SHIPPER_REFERENCE not like", value, "shipperReference");
2666 + return (Criteria) this;
2667 + }
2668 +
2669 + public Criteria andShipperReferenceIn(List<String> values) {
2670 + addCriterion("SHIPPER_REFERENCE in", values, "shipperReference");
2671 + return (Criteria) this;
2672 + }
2673 +
2674 + public Criteria andShipperReferenceNotIn(List<String> values) {
2675 + addCriterion("SHIPPER_REFERENCE not in", values, "shipperReference");
2676 + return (Criteria) this;
2677 + }
2678 +
2679 + public Criteria andShipperReferenceBetween(String value1, String value2) {
2680 + addCriterion("SHIPPER_REFERENCE between", value1, value2, "shipperReference");
2681 + return (Criteria) this;
2682 + }
2683 +
2684 + public Criteria andShipperReferenceNotBetween(String value1, String value2) {
2685 + addCriterion("SHIPPER_REFERENCE not between", value1, value2, "shipperReference");
2686 + return (Criteria) this;
2687 + }
2688 +
2689 + public Criteria andPiecesIsNull() {
2690 + addCriterion("PIECES is null");
2691 + return (Criteria) this;
2692 + }
2693 +
2694 + public Criteria andPiecesIsNotNull() {
2695 + addCriterion("PIECES is not null");
2696 + return (Criteria) this;
2697 + }
2698 +
2699 + public Criteria andPiecesEqualTo(Long value) {
2700 + addCriterion("PIECES =", value, "pieces");
2701 + return (Criteria) this;
2702 + }
2703 +
2704 + public Criteria andPiecesNotEqualTo(Long value) {
2705 + addCriterion("PIECES <>", value, "pieces");
2706 + return (Criteria) this;
2707 + }
2708 +
2709 + public Criteria andPiecesGreaterThan(Long value) {
2710 + addCriterion("PIECES >", value, "pieces");
2711 + return (Criteria) this;
2712 + }
2713 +
2714 + public Criteria andPiecesGreaterThanOrEqualTo(Long value) {
2715 + addCriterion("PIECES >=", value, "pieces");
2716 + return (Criteria) this;
2717 + }
2718 +
2719 + public Criteria andPiecesLessThan(Long value) {
2720 + addCriterion("PIECES <", value, "pieces");
2721 + return (Criteria) this;
2722 + }
2723 +
2724 + public Criteria andPiecesLessThanOrEqualTo(Long value) {
2725 + addCriterion("PIECES <=", value, "pieces");
2726 + return (Criteria) this;
2727 + }
2728 +
2729 + public Criteria andPiecesIn(List<Long> values) {
2730 + addCriterion("PIECES in", values, "pieces");
2731 + return (Criteria) this;
2732 + }
2733 +
2734 + public Criteria andPiecesNotIn(List<Long> values) {
2735 + addCriterion("PIECES not in", values, "pieces");
2736 + return (Criteria) this;
2737 + }
2738 +
2739 + public Criteria andPiecesBetween(Long value1, Long value2) {
2740 + addCriterion("PIECES between", value1, value2, "pieces");
2741 + return (Criteria) this;
2742 + }
2743 +
2744 + public Criteria andPiecesNotBetween(Long value1, Long value2) {
2745 + addCriterion("PIECES not between", value1, value2, "pieces");
2746 + return (Criteria) this;
2747 + }
2618 } 2748 }
2619 2749
2620 public static class Criteria extends GeneratedCriteria { 2750 public static class Criteria extends GeneratedCriteria {
......
...@@ -262,6 +262,16 @@ public class Consignment implements Serializable { ...@@ -262,6 +262,16 @@ public class Consignment implements Serializable {
262 */ 262 */
263 private String destinationCountryCode; 263 private String destinationCountryCode;
264 264
265 + /**
266 + * 参考信息
267 + */
268 + private String shipperReference;
269 +
270 + /**
271 + * 件数
272 + */
273 + private Long pieces;
274 +
265 private static final long serialVersionUID = 1L; 275 private static final long serialVersionUID = 1L;
266 276
267 public Long getId() { 277 public Long getId() {
...@@ -664,6 +674,22 @@ public class Consignment implements Serializable { ...@@ -664,6 +674,22 @@ public class Consignment implements Serializable {
664 this.destinationCountryCode = destinationCountryCode == null ? null : destinationCountryCode.trim(); 674 this.destinationCountryCode = destinationCountryCode == null ? null : destinationCountryCode.trim();
665 } 675 }
666 676
677 + public String getShipperReference() {
678 + return shipperReference;
679 + }
680 +
681 + public void setShipperReference(String shipperReference) {
682 + this.shipperReference = shipperReference == null ? null : shipperReference.trim();
683 + }
684 +
685 + public Long getPieces() {
686 + return pieces;
687 + }
688 +
689 + public void setPieces(Long pieces) {
690 + this.pieces = pieces;
691 + }
692 +
667 @Override 693 @Override
668 public String toString() { 694 public String toString() {
669 StringBuilder sb = new StringBuilder(); 695 StringBuilder sb = new StringBuilder();
...@@ -720,6 +746,8 @@ public class Consignment implements Serializable { ...@@ -720,6 +746,8 @@ public class Consignment implements Serializable {
720 sb.append(", originCountryCode=").append(originCountryCode); 746 sb.append(", originCountryCode=").append(originCountryCode);
721 sb.append(", shipperEmail=").append(shipperEmail); 747 sb.append(", shipperEmail=").append(shipperEmail);
722 sb.append(", destinationCountryCode=").append(destinationCountryCode); 748 sb.append(", destinationCountryCode=").append(destinationCountryCode);
749 + sb.append(", shipperReference=").append(shipperReference);
750 + sb.append(", pieces=").append(pieces);
723 sb.append(", serialVersionUID=").append(serialVersionUID); 751 sb.append(", serialVersionUID=").append(serialVersionUID);
724 sb.append("]"); 752 sb.append("]");
725 return sb.toString(); 753 return sb.toString();
......
...@@ -3485,6 +3485,136 @@ public class ConsignmentExample { ...@@ -3485,6 +3485,136 @@ public class ConsignmentExample {
3485 addCriterion("DESTINATION_COUNTRY_CODE not between", value1, value2, "destinationCountryCode"); 3485 addCriterion("DESTINATION_COUNTRY_CODE not between", value1, value2, "destinationCountryCode");
3486 return (Criteria) this; 3486 return (Criteria) this;
3487 } 3487 }
3488 +
3489 + public Criteria andShipperReferenceIsNull() {
3490 + addCriterion("SHIPPER_REFERENCE is null");
3491 + return (Criteria) this;
3492 + }
3493 +
3494 + public Criteria andShipperReferenceIsNotNull() {
3495 + addCriterion("SHIPPER_REFERENCE is not null");
3496 + return (Criteria) this;
3497 + }
3498 +
3499 + public Criteria andShipperReferenceEqualTo(String value) {
3500 + addCriterion("SHIPPER_REFERENCE =", value, "shipperReference");
3501 + return (Criteria) this;
3502 + }
3503 +
3504 + public Criteria andShipperReferenceNotEqualTo(String value) {
3505 + addCriterion("SHIPPER_REFERENCE <>", value, "shipperReference");
3506 + return (Criteria) this;
3507 + }
3508 +
3509 + public Criteria andShipperReferenceGreaterThan(String value) {
3510 + addCriterion("SHIPPER_REFERENCE >", value, "shipperReference");
3511 + return (Criteria) this;
3512 + }
3513 +
3514 + public Criteria andShipperReferenceGreaterThanOrEqualTo(String value) {
3515 + addCriterion("SHIPPER_REFERENCE >=", value, "shipperReference");
3516 + return (Criteria) this;
3517 + }
3518 +
3519 + public Criteria andShipperReferenceLessThan(String value) {
3520 + addCriterion("SHIPPER_REFERENCE <", value, "shipperReference");
3521 + return (Criteria) this;
3522 + }
3523 +
3524 + public Criteria andShipperReferenceLessThanOrEqualTo(String value) {
3525 + addCriterion("SHIPPER_REFERENCE <=", value, "shipperReference");
3526 + return (Criteria) this;
3527 + }
3528 +
3529 + public Criteria andShipperReferenceLike(String value) {
3530 + addCriterion("SHIPPER_REFERENCE like", value, "shipperReference");
3531 + return (Criteria) this;
3532 + }
3533 +
3534 + public Criteria andShipperReferenceNotLike(String value) {
3535 + addCriterion("SHIPPER_REFERENCE not like", value, "shipperReference");
3536 + return (Criteria) this;
3537 + }
3538 +
3539 + public Criteria andShipperReferenceIn(List<String> values) {
3540 + addCriterion("SHIPPER_REFERENCE in", values, "shipperReference");
3541 + return (Criteria) this;
3542 + }
3543 +
3544 + public Criteria andShipperReferenceNotIn(List<String> values) {
3545 + addCriterion("SHIPPER_REFERENCE not in", values, "shipperReference");
3546 + return (Criteria) this;
3547 + }
3548 +
3549 + public Criteria andShipperReferenceBetween(String value1, String value2) {
3550 + addCriterion("SHIPPER_REFERENCE between", value1, value2, "shipperReference");
3551 + return (Criteria) this;
3552 + }
3553 +
3554 + public Criteria andShipperReferenceNotBetween(String value1, String value2) {
3555 + addCriterion("SHIPPER_REFERENCE not between", value1, value2, "shipperReference");
3556 + return (Criteria) this;
3557 + }
3558 +
3559 + public Criteria andPiecesIsNull() {
3560 + addCriterion("PIECES is null");
3561 + return (Criteria) this;
3562 + }
3563 +
3564 + public Criteria andPiecesIsNotNull() {
3565 + addCriterion("PIECES is not null");
3566 + return (Criteria) this;
3567 + }
3568 +
3569 + public Criteria andPiecesEqualTo(Long value) {
3570 + addCriterion("PIECES =", value, "pieces");
3571 + return (Criteria) this;
3572 + }
3573 +
3574 + public Criteria andPiecesNotEqualTo(Long value) {
3575 + addCriterion("PIECES <>", value, "pieces");
3576 + return (Criteria) this;
3577 + }
3578 +
3579 + public Criteria andPiecesGreaterThan(Long value) {
3580 + addCriterion("PIECES >", value, "pieces");
3581 + return (Criteria) this;
3582 + }
3583 +
3584 + public Criteria andPiecesGreaterThanOrEqualTo(Long value) {
3585 + addCriterion("PIECES >=", value, "pieces");
3586 + return (Criteria) this;
3587 + }
3588 +
3589 + public Criteria andPiecesLessThan(Long value) {
3590 + addCriterion("PIECES <", value, "pieces");
3591 + return (Criteria) this;
3592 + }
3593 +
3594 + public Criteria andPiecesLessThanOrEqualTo(Long value) {
3595 + addCriterion("PIECES <=", value, "pieces");
3596 + return (Criteria) this;
3597 + }
3598 +
3599 + public Criteria andPiecesIn(List<Long> values) {
3600 + addCriterion("PIECES in", values, "pieces");
3601 + return (Criteria) this;
3602 + }
3603 +
3604 + public Criteria andPiecesNotIn(List<Long> values) {
3605 + addCriterion("PIECES not in", values, "pieces");
3606 + return (Criteria) this;
3607 + }
3608 +
3609 + public Criteria andPiecesBetween(Long value1, Long value2) {
3610 + addCriterion("PIECES between", value1, value2, "pieces");
3611 + return (Criteria) this;
3612 + }
3613 +
3614 + public Criteria andPiecesNotBetween(Long value1, Long value2) {
3615 + addCriterion("PIECES not between", value1, value2, "pieces");
3616 + return (Criteria) this;
3617 + }
3488 } 3618 }
3489 3619
3490 public static class Criteria extends GeneratedCriteria { 3620 public static class Criteria extends GeneratedCriteria {
......
...@@ -89,6 +89,21 @@ public class Operation implements Serializable { ...@@ -89,6 +89,21 @@ public class Operation implements Serializable {
89 private String modifyUserName; 89 private String modifyUserName;
90 90
91 /** 91 /**
92 + * 请求时间
93 + */
94 + private Date requestTime;
95 +
96 + /**
97 + * 相应时间
98 + */
99 + private Date responseTime;
100 +
101 + /**
102 + * 执行耗时(毫秒)
103 + */
104 + private Long exceuteConsume;
105 +
106 + /**
92 * 备注 107 * 备注
93 */ 108 */
94 private String remark; 109 private String remark;
...@@ -223,6 +238,30 @@ public class Operation implements Serializable { ...@@ -223,6 +238,30 @@ public class Operation implements Serializable {
223 this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim(); 238 this.modifyUserName = modifyUserName == null ? null : modifyUserName.trim();
224 } 239 }
225 240
241 + public Date getRequestTime() {
242 + return requestTime;
243 + }
244 +
245 + public void setRequestTime(Date requestTime) {
246 + this.requestTime = requestTime;
247 + }
248 +
249 + public Date getResponseTime() {
250 + return responseTime;
251 + }
252 +
253 + public void setResponseTime(Date responseTime) {
254 + this.responseTime = responseTime;
255 + }
256 +
257 + public Long getExceuteConsume() {
258 + return exceuteConsume;
259 + }
260 +
261 + public void setExceuteConsume(Long exceuteConsume) {
262 + this.exceuteConsume = exceuteConsume;
263 + }
264 +
226 public String getRemark() { 265 public String getRemark() {
227 return remark; 266 return remark;
228 } 267 }
...@@ -253,6 +292,9 @@ public class Operation implements Serializable { ...@@ -253,6 +292,9 @@ public class Operation implements Serializable {
253 sb.append(", modifyTime=").append(modifyTime); 292 sb.append(", modifyTime=").append(modifyTime);
254 sb.append(", modifyUserId=").append(modifyUserId); 293 sb.append(", modifyUserId=").append(modifyUserId);
255 sb.append(", modifyUserName=").append(modifyUserName); 294 sb.append(", modifyUserName=").append(modifyUserName);
295 + sb.append(", requestTime=").append(requestTime);
296 + sb.append(", responseTime=").append(responseTime);
297 + sb.append(", exceuteConsume=").append(exceuteConsume);
256 sb.append(", remark=").append(remark); 298 sb.append(", remark=").append(remark);
257 sb.append(", serialVersionUID=").append(serialVersionUID); 299 sb.append(", serialVersionUID=").append(serialVersionUID);
258 sb.append("]"); 300 sb.append("]");
......
...@@ -1174,6 +1174,186 @@ public class OperationExample { ...@@ -1174,6 +1174,186 @@ public class OperationExample {
1174 addCriterion("MODIFY_USER_NAME not between", value1, value2, "modifyUserName"); 1174 addCriterion("MODIFY_USER_NAME not between", value1, value2, "modifyUserName");
1175 return (Criteria) this; 1175 return (Criteria) this;
1176 } 1176 }
1177 +
1178 + public Criteria andRequestTimeIsNull() {
1179 + addCriterion("REQUEST_TIME is null");
1180 + return (Criteria) this;
1181 + }
1182 +
1183 + public Criteria andRequestTimeIsNotNull() {
1184 + addCriterion("REQUEST_TIME is not null");
1185 + return (Criteria) this;
1186 + }
1187 +
1188 + public Criteria andRequestTimeEqualTo(Date value) {
1189 + addCriterion("REQUEST_TIME =", value, "requestTime");
1190 + return (Criteria) this;
1191 + }
1192 +
1193 + public Criteria andRequestTimeNotEqualTo(Date value) {
1194 + addCriterion("REQUEST_TIME <>", value, "requestTime");
1195 + return (Criteria) this;
1196 + }
1197 +
1198 + public Criteria andRequestTimeGreaterThan(Date value) {
1199 + addCriterion("REQUEST_TIME >", value, "requestTime");
1200 + return (Criteria) this;
1201 + }
1202 +
1203 + public Criteria andRequestTimeGreaterThanOrEqualTo(Date value) {
1204 + addCriterion("REQUEST_TIME >=", value, "requestTime");
1205 + return (Criteria) this;
1206 + }
1207 +
1208 + public Criteria andRequestTimeLessThan(Date value) {
1209 + addCriterion("REQUEST_TIME <", value, "requestTime");
1210 + return (Criteria) this;
1211 + }
1212 +
1213 + public Criteria andRequestTimeLessThanOrEqualTo(Date value) {
1214 + addCriterion("REQUEST_TIME <=", value, "requestTime");
1215 + return (Criteria) this;
1216 + }
1217 +
1218 + public Criteria andRequestTimeIn(List<Date> values) {
1219 + addCriterion("REQUEST_TIME in", values, "requestTime");
1220 + return (Criteria) this;
1221 + }
1222 +
1223 + public Criteria andRequestTimeNotIn(List<Date> values) {
1224 + addCriterion("REQUEST_TIME not in", values, "requestTime");
1225 + return (Criteria) this;
1226 + }
1227 +
1228 + public Criteria andRequestTimeBetween(Date value1, Date value2) {
1229 + addCriterion("REQUEST_TIME between", value1, value2, "requestTime");
1230 + return (Criteria) this;
1231 + }
1232 +
1233 + public Criteria andRequestTimeNotBetween(Date value1, Date value2) {
1234 + addCriterion("REQUEST_TIME not between", value1, value2, "requestTime");
1235 + return (Criteria) this;
1236 + }
1237 +
1238 + public Criteria andResponseTimeIsNull() {
1239 + addCriterion("RESPONSE_TIME is null");
1240 + return (Criteria) this;
1241 + }
1242 +
1243 + public Criteria andResponseTimeIsNotNull() {
1244 + addCriterion("RESPONSE_TIME is not null");
1245 + return (Criteria) this;
1246 + }
1247 +
1248 + public Criteria andResponseTimeEqualTo(Date value) {
1249 + addCriterion("RESPONSE_TIME =", value, "responseTime");
1250 + return (Criteria) this;
1251 + }
1252 +
1253 + public Criteria andResponseTimeNotEqualTo(Date value) {
1254 + addCriterion("RESPONSE_TIME <>", value, "responseTime");
1255 + return (Criteria) this;
1256 + }
1257 +
1258 + public Criteria andResponseTimeGreaterThan(Date value) {
1259 + addCriterion("RESPONSE_TIME >", value, "responseTime");
1260 + return (Criteria) this;
1261 + }
1262 +
1263 + public Criteria andResponseTimeGreaterThanOrEqualTo(Date value) {
1264 + addCriterion("RESPONSE_TIME >=", value, "responseTime");
1265 + return (Criteria) this;
1266 + }
1267 +
1268 + public Criteria andResponseTimeLessThan(Date value) {
1269 + addCriterion("RESPONSE_TIME <", value, "responseTime");
1270 + return (Criteria) this;
1271 + }
1272 +
1273 + public Criteria andResponseTimeLessThanOrEqualTo(Date value) {
1274 + addCriterion("RESPONSE_TIME <=", value, "responseTime");
1275 + return (Criteria) this;
1276 + }
1277 +
1278 + public Criteria andResponseTimeIn(List<Date> values) {
1279 + addCriterion("RESPONSE_TIME in", values, "responseTime");
1280 + return (Criteria) this;
1281 + }
1282 +
1283 + public Criteria andResponseTimeNotIn(List<Date> values) {
1284 + addCriterion("RESPONSE_TIME not in", values, "responseTime");
1285 + return (Criteria) this;
1286 + }
1287 +
1288 + public Criteria andResponseTimeBetween(Date value1, Date value2) {
1289 + addCriterion("RESPONSE_TIME between", value1, value2, "responseTime");
1290 + return (Criteria) this;
1291 + }
1292 +
1293 + public Criteria andResponseTimeNotBetween(Date value1, Date value2) {
1294 + addCriterion("RESPONSE_TIME not between", value1, value2, "responseTime");
1295 + return (Criteria) this;
1296 + }
1297 +
1298 + public Criteria andExceuteConsumeIsNull() {
1299 + addCriterion("EXCEUTE_CONSUME is null");
1300 + return (Criteria) this;
1301 + }
1302 +
1303 + public Criteria andExceuteConsumeIsNotNull() {
1304 + addCriterion("EXCEUTE_CONSUME is not null");
1305 + return (Criteria) this;
1306 + }
1307 +
1308 + public Criteria andExceuteConsumeEqualTo(Long value) {
1309 + addCriterion("EXCEUTE_CONSUME =", value, "exceuteConsume");
1310 + return (Criteria) this;
1311 + }
1312 +
1313 + public Criteria andExceuteConsumeNotEqualTo(Long value) {
1314 + addCriterion("EXCEUTE_CONSUME <>", value, "exceuteConsume");
1315 + return (Criteria) this;
1316 + }
1317 +
1318 + public Criteria andExceuteConsumeGreaterThan(Long value) {
1319 + addCriterion("EXCEUTE_CONSUME >", value, "exceuteConsume");
1320 + return (Criteria) this;
1321 + }
1322 +
1323 + public Criteria andExceuteConsumeGreaterThanOrEqualTo(Long value) {
1324 + addCriterion("EXCEUTE_CONSUME >=", value, "exceuteConsume");
1325 + return (Criteria) this;
1326 + }
1327 +
1328 + public Criteria andExceuteConsumeLessThan(Long value) {
1329 + addCriterion("EXCEUTE_CONSUME <", value, "exceuteConsume");
1330 + return (Criteria) this;
1331 + }
1332 +
1333 + public Criteria andExceuteConsumeLessThanOrEqualTo(Long value) {
1334 + addCriterion("EXCEUTE_CONSUME <=", value, "exceuteConsume");
1335 + return (Criteria) this;
1336 + }
1337 +
1338 + public Criteria andExceuteConsumeIn(List<Long> values) {
1339 + addCriterion("EXCEUTE_CONSUME in", values, "exceuteConsume");
1340 + return (Criteria) this;
1341 + }
1342 +
1343 + public Criteria andExceuteConsumeNotIn(List<Long> values) {
1344 + addCriterion("EXCEUTE_CONSUME not in", values, "exceuteConsume");
1345 + return (Criteria) this;
1346 + }
1347 +
1348 + public Criteria andExceuteConsumeBetween(Long value1, Long value2) {
1349 + addCriterion("EXCEUTE_CONSUME between", value1, value2, "exceuteConsume");
1350 + return (Criteria) this;
1351 + }
1352 +
1353 + public Criteria andExceuteConsumeNotBetween(Long value1, Long value2) {
1354 + addCriterion("EXCEUTE_CONSUME not between", value1, value2, "exceuteConsume");
1355 + return (Criteria) this;
1356 + }
1177 } 1357 }
1178 1358
1179 public static class Criteria extends GeneratedCriteria { 1359 public static class Criteria extends GeneratedCriteria {
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
40 sys:系统 系统相关表,例如kafka表 40 sys:系统 系统相关表,例如kafka表
41 log: 日志 日志记录表,例如邮件发送日志表 41 log: 日志 日志记录表,例如邮件发送日志表
42 --> 42 -->
43 - <javaModelGenerator targetPackage="com.fedex.connect.common.model.sys" targetProject="src/main/java"> 43 + <javaModelGenerator targetPackage="com.fedex.connect.common.model.biz" targetProject="src/main/java">
44 <!---enableSubPackages:如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性--> 44 <!---enableSubPackages:如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性-->
45 <property name="enableSubPackages" value="false"/> 45 <property name="enableSubPackages" value="false"/>
46 <!--该属性只对MyBatis3有效,如果true就会使用构造方法入参,如果false就会使用setter方式。默认为false--> 46 <!--该属性只对MyBatis3有效,如果true就会使用构造方法入参,如果false就会使用setter方式。默认为false-->
...@@ -52,13 +52,13 @@ ...@@ -52,13 +52,13 @@
52 </javaModelGenerator> 52 </javaModelGenerator>
53 53
54 <!-- 生成映射文件*.xml的位置--> 54 <!-- 生成映射文件*.xml的位置-->
55 - <sqlMapGenerator targetPackage="mapper.sys" targetProject="src/main/java/com/fedex/connect/common"> 55 + <sqlMapGenerator targetPackage="mapper.biz" targetProject="src/main/java/com/fedex/connect/common">
56 <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> 56 <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false-->
57 <property name="enableSubPackages" value="false"/> 57 <property name="enableSubPackages" value="false"/>
58 </sqlMapGenerator> 58 </sqlMapGenerator>
59 59
60 <!-- 生成DAO的包名和位置 --> 60 <!-- 生成DAO的包名和位置 -->
61 - <javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.sys" targetProject="src/main/java"> 61 + <javaClientGenerator type="XMLMAPPER" targetPackage="com.fedex.connect.common.dao.biz" targetProject="src/main/java">
62 <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false--> 62 <!--如果true,MBG会根据catalog和schema来生成子包。如果false就会直接用targetPackage属性。默认为false-->
63 <property name="enableSubPackages" value="false"/> 63 <property name="enableSubPackages" value="false"/>
64 </javaClientGenerator> 64 </javaClientGenerator>
...@@ -111,18 +111,18 @@ ...@@ -111,18 +111,18 @@
111 <!-- selectByExampleQueryId="true">--> 111 <!-- selectByExampleQueryId="true">-->
112 <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_UPLOAD_RECORD.NEXTVAL FROM DUAL" />--> 112 <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_UPLOAD_RECORD.NEXTVAL FROM DUAL" />-->
113 <!-- </table>--> 113 <!-- </table>-->
114 -<!-- <table schema="ICLEARIMP" tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo"--> 114 + <table schema="ICLEARIMP" tableName="T_BIZ_CE_INFO" domainObjectName="CeInfo"
115 -<!-- enableCountByExample="true" enableUpdateByExample="true"--> 115 + enableCountByExample="true" enableUpdateByExample="true"
116 -<!-- enableDeleteByExample="true" enableSelectByExample="true"--> 116 + enableDeleteByExample="true" enableSelectByExample="true"
117 -<!-- selectByExampleQueryId="true">--> 117 + selectByExampleQueryId="true">
118 -<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CE_INFO.NEXTVAL FROM DUAL" />--> 118 + <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CE_INFO.NEXTVAL FROM DUAL" />
119 -<!-- </table>--> 119 + </table>
120 -<!-- <table tableName="T_BIZ_CONSIGNMENT" domainObjectName="Consignment"--> 120 + <table tableName="T_BIZ_CONSIGNMENT" domainObjectName="Consignment"
121 -<!-- enableCountByExample="true" enableUpdateByExample="true"--> 121 + enableCountByExample="true" enableUpdateByExample="true"
122 -<!-- enableDeleteByExample="true" enableSelectByExample="true"--> 122 + enableDeleteByExample="true" enableSelectByExample="true"
123 -<!-- selectByExampleQueryId="true">--> 123 + selectByExampleQueryId="true">
124 -<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CONSIGNMENT.NEXTVAL FROM DUAL" />--> 124 + <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BIZ_CONSIGNMENT.NEXTVAL FROM DUAL" />
125 -<!-- </table>--> 125 + </table>
126 <!-- <table tableName="T_BIZ_EMAIL" domainObjectName="Email"--> 126 <!-- <table tableName="T_BIZ_EMAIL" domainObjectName="Email"-->
127 <!-- enableCountByExample="true" enableUpdateByExample="true"--> 127 <!-- enableCountByExample="true" enableUpdateByExample="true"-->
128 <!-- enableDeleteByExample="true" enableSelectByExample="true"--> 128 <!-- enableDeleteByExample="true" enableSelectByExample="true"-->
...@@ -151,60 +151,60 @@ ...@@ -151,60 +151,60 @@
151 <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BI_PORTCLEAR_EMAIL_MAPPING.NEXTVAL FROM DUAL" />--> 151 <!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_BI_PORTCLEAR_EMAIL_MAPPING.NEXTVAL FROM DUAL" />-->
152 <!-- </table>--> 152 <!-- </table>-->
153 153
154 - <table tableName="T_SYS_REDIS_SLAB" domainObjectName="redisSlab" 154 +<!-- <table tableName="T_SYS_REDIS_SLAB" domainObjectName="redisSlab"-->
155 - enableCountByExample="true" enableUpdateByExample="true" 155 +<!-- enableCountByExample="true" enableUpdateByExample="true"-->
156 - enableDeleteByExample="true" enableSelectByExample="true" 156 +<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
157 - selectByExampleQueryId="true"> 157 +<!-- selectByExampleQueryId="true">-->
158 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_REDIS_SLAB.NEXTVAL FROM DUAL" /> 158 +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_REDIS_SLAB.NEXTVAL FROM DUAL" />-->
159 - </table> 159 +<!-- </table>-->
160 - <table schema="ICLEARIMP" tableName="T_SYS_KAFKA_STORAGE_HISTORY" domainObjectName="KafkaStorageHistory" 160 +<!-- <table schema="ICLEARIMP" tableName="T_SYS_KAFKA_STORAGE_HISTORY" domainObjectName="KafkaStorageHistory"-->
161 - enableCountByExample="true" enableUpdateByExample="true" 161 +<!-- enableCountByExample="true" enableUpdateByExample="true"-->
162 - enableDeleteByExample="true" enableSelectByExample="true" 162 +<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
163 - selectByExampleQueryId="true"> 163 +<!-- selectByExampleQueryId="true">-->
164 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL" /> 164 +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_KAFKA_STORAGE_HISTORY.NEXTVAL FROM DUAL" />-->
165 - </table> 165 +<!-- </table>-->
166 - <table schema="ICLEARIMP" tableName="T_SYS_KAFKA_TEMPORARY_STORAGE" domainObjectName="KafkaTemporaryStorage" 166 +<!-- <table schema="ICLEARIMP" tableName="T_SYS_KAFKA_TEMPORARY_STORAGE" domainObjectName="KafkaTemporaryStorage"-->
167 - enableCountByExample="true" enableUpdateByExample="true" 167 +<!-- enableCountByExample="true" enableUpdateByExample="true"-->
168 - enableDeleteByExample="true" enableSelectByExample="true" 168 +<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
169 - selectByExampleQueryId="true"> 169 +<!-- selectByExampleQueryId="true">-->
170 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_KAFKA_TEMPORARY_STORAGE.NEXTVAL FROM DUAL" /> 170 +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_KAFKA_TEMPORARY_STORAGE.NEXTVAL FROM DUAL" />-->
171 - </table> 171 +<!-- </table>-->
172 - <table schema="ICLEARIMP" tableName="T_SYS_PARAM_CONFIG" domainObjectName="ParamConfig" 172 +<!-- <table schema="ICLEARIMP" tableName="T_SYS_PARAM_CONFIG" domainObjectName="ParamConfig"-->
173 - enableCountByExample="true" enableUpdateByExample="true" 173 +<!-- enableCountByExample="true" enableUpdateByExample="true"-->
174 - enableDeleteByExample="true" enableSelectByExample="true" 174 +<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
175 - selectByExampleQueryId="true"> 175 +<!-- selectByExampleQueryId="true">-->
176 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_PARAM_CONFIG.NEXTVAL FROM DUAL" /> 176 +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_PARAM_CONFIG.NEXTVAL FROM DUAL" />-->
177 - </table> 177 +<!-- </table>-->
178 - <table tableName="T_SYS_PRIVILEGE" domainObjectName="Privilege" 178 +<!-- <table tableName="T_SYS_PRIVILEGE" domainObjectName="Privilege"-->
179 - enableCountByExample="true" enableUpdateByExample="true" 179 +<!-- enableCountByExample="true" enableUpdateByExample="true"-->
180 - enableDeleteByExample="true" enableSelectByExample="true" 180 +<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
181 - selectByExampleQueryId="true"> 181 +<!-- selectByExampleQueryId="true">-->
182 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_PRIVILEGE.NEXTVAL FROM DUAL" /> 182 +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_PRIVILEGE.NEXTVAL FROM DUAL" />-->
183 - </table> 183 +<!-- </table>-->
184 - <table tableName="T_SYS_ROLE" domainObjectName="Role" 184 +<!-- <table tableName="T_SYS_ROLE" domainObjectName="Role"-->
185 - enableCountByExample="true" enableUpdateByExample="true" 185 +<!-- enableCountByExample="true" enableUpdateByExample="true"-->
186 - enableDeleteByExample="true" enableSelectByExample="true" 186 +<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
187 - selectByExampleQueryId="true"> 187 +<!-- selectByExampleQueryId="true">-->
188 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_ROLE.NEXTVAL FROM DUAL" /> 188 +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_ROLE.NEXTVAL FROM DUAL" />-->
189 - </table> 189 +<!-- </table>-->
190 - <table tableName="T_SYS_ROLE_PRIVILEGE" domainObjectName="RolePrivilege" 190 +<!-- <table tableName="T_SYS_ROLE_PRIVILEGE" domainObjectName="RolePrivilege"-->
191 - enableCountByExample="true" enableUpdateByExample="true" 191 +<!-- enableCountByExample="true" enableUpdateByExample="true"-->
192 - enableDeleteByExample="true" enableSelectByExample="true" 192 +<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
193 - selectByExampleQueryId="true"> 193 +<!-- selectByExampleQueryId="true">-->
194 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_ROLE_PRIVILEGE.NEXTVAL FROM DUAL" /> 194 +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_ROLE_PRIVILEGE.NEXTVAL FROM DUAL" />-->
195 - </table> 195 +<!-- </table>-->
196 - <table schema="ICLEARIMP" tableName="T_SYS_USER" domainObjectName="User" 196 +<!-- <table schema="ICLEARIMP" tableName="T_SYS_USER" domainObjectName="User"-->
197 - enableCountByExample="true" enableUpdateByExample="true" 197 +<!-- enableCountByExample="true" enableUpdateByExample="true"-->
198 - enableDeleteByExample="true" enableSelectByExample="true" 198 +<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
199 - selectByExampleQueryId="true"> 199 +<!-- selectByExampleQueryId="true">-->
200 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_USER.NEXTVAL FROM DUAL" /> 200 +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_USER.NEXTVAL FROM DUAL" />-->
201 - </table> 201 +<!-- </table>-->
202 - <table schema="ICLEARIMP" tableName="T_SYS_USER_ROLE" domainObjectName="UserRole" 202 +<!-- <table schema="ICLEARIMP" tableName="T_SYS_USER_ROLE" domainObjectName="UserRole"-->
203 - enableCountByExample="true" enableUpdateByExample="true" 203 +<!-- enableCountByExample="true" enableUpdateByExample="true"-->
204 - enableDeleteByExample="true" enableSelectByExample="true" 204 +<!-- enableDeleteByExample="true" enableSelectByExample="true"-->
205 - selectByExampleQueryId="true"> 205 +<!-- selectByExampleQueryId="true">-->
206 - <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_USER_ROLE.NEXTVAL FROM DUAL" /> 206 +<!-- <generatedKey column="ID" sqlStatement="SELECT SEQ_T_SYS_USER_ROLE.NEXTVAL FROM DUAL" />-->
207 - </table> 207 +<!-- </table>-->
208 208
209 209
210 <!-- <table tableName="T_BI_DICTIONARY_ENTRIES" domainObjectName="DictionaryEntries"--> 210 <!-- <table tableName="T_BI_DICTIONARY_ENTRIES" domainObjectName="DictionaryEntries"-->
......
...@@ -6,6 +6,7 @@ import com.fedex.connect.common.dependencies.date.vo.ResponseVo; ...@@ -6,6 +6,7 @@ import com.fedex.connect.common.dependencies.date.vo.ResponseVo;
6 import com.fedex.connect.common.dependencies.enums.BaseResponseCode; 6 import com.fedex.connect.common.dependencies.enums.BaseResponseCode;
7 import com.fedex.connect.common.dependencies.i18n.LocaleMessageUtil; 7 import com.fedex.connect.common.dependencies.i18n.LocaleMessageUtil;
8 import com.fedex.connect.common.dependencies.repository.repo.log.IOperationRepository; 8 import com.fedex.connect.common.dependencies.repository.repo.log.IOperationRepository;
9 +import com.fedex.connect.common.dependencies.util.AssignmentFieldUtils;
9 import com.fedex.connect.common.dependencies.util.CurrentUserInfo; 10 import com.fedex.connect.common.dependencies.util.CurrentUserInfo;
10 import com.fedex.connect.common.dependencies.util.JsonUtils; 11 import com.fedex.connect.common.dependencies.util.JsonUtils;
11 import com.fedex.connect.common.model.log.Operation; 12 import com.fedex.connect.common.model.log.Operation;
...@@ -122,13 +123,15 @@ public class OperationLogAspect { ...@@ -122,13 +123,15 @@ public class OperationLogAspect {
122 User user = CurrentUserInfo.getUser(); 123 User user = CurrentUserInfo.getUser();
123 log.setUserId(user.getId()); 124 log.setUserId(user.getId());
124 log.setUserName(user.getUserName()); 125 log.setUserName(user.getUserName());
125 - 126 + //请求时间
127 + Date requestTime = new Date();
126 Object res = pjp.proceed(); 128 Object res = pjp.proceed();
129 + //响应时间
130 + Date responseTime = new Date();
127 if (Objects.isNull(log.getUserId())){ 131 if (Objects.isNull(log.getUserId())){
128 //没获取到用户信息,直接return 132 //没获取到用户信息,直接return
129 return res; 133 return res;
130 } 134 }
131 - log.setCreateTime(new Date());
132 //模块描述可以写在类的RequestMapping 的 name中,或者写在OperationMethodLog 的module中,OperationMethodLog的级别更高 135 //模块描述可以写在类的RequestMapping 的 name中,或者写在OperationMethodLog 的module中,OperationMethodLog的级别更高
133 String module = Objects.isNull(pjp.getTarget().getClass().getAnnotation(RequestMapping.class)) ? 136 String module = Objects.isNull(pjp.getTarget().getClass().getAnnotation(RequestMapping.class)) ?
134 "" : 137 "" :
...@@ -137,6 +140,11 @@ public class OperationLogAspect { ...@@ -137,6 +140,11 @@ public class OperationLogAspect {
137 module = operationMethodLog.module(); 140 module = operationMethodLog.module();
138 } 141 }
139 log.setModule(module); 142 log.setModule(module);
143 + log.setRequestTime(requestTime);
144 + log.setResponseTime(responseTime);
145 + //记录执行耗时
146 + Long exceuteConsume = responseTime.getTime() - requestTime.getTime();
147 + log.setExceuteConsume(exceuteConsume);
140 148
141 //返回的结果可能不是Result类型,比如void响应流,不存 149 //返回的结果可能不是Result类型,比如void响应流,不存
142 if (res instanceof ResponseVo) { 150 if (res instanceof ResponseVo) {
...@@ -156,6 +164,8 @@ public class OperationLogAspect { ...@@ -156,6 +164,8 @@ public class OperationLogAspect {
156 164
157 log.setResult(resultJson); 165 log.setResult(resultJson);
158 } 166 }
167 + //基础字段赋值
168 + AssignmentFieldUtils.assignmentTableBaseField(log);
159 // 日志插入数据库 169 // 日志插入数据库
160 logger.info("插入日志:" + JsonUtils.objectToJson(log)); 170 logger.info("插入日志:" + JsonUtils.objectToJson(log));
161 operationRepository.insert(log); 171 operationRepository.insert(log);
......
...@@ -111,6 +111,13 @@ public class Dm501Util { ...@@ -111,6 +111,13 @@ public class Dm501Util {
111 ceInfo.setUserUuid(dm501Consignment.getUuid()); 111 ceInfo.setUserUuid(dm501Consignment.getUuid());
112 //发件人邮箱 112 //发件人邮箱
113 ceInfo.setShipperEmail(dm501Consignment.getShipperEmail()); 113 ceInfo.setShipperEmail(dm501Consignment.getShipperEmail());
114 + //参考信息
115 + ceInfo.setShipperReference(dm501Consignment.getShipperReferenceNotes());
116 + //件数
117 + String quantity = dm501Consignment.getQuantity();
118 + if(Objects.nonNull(quantity)){
119 + ceInfo.setPieces(Long.valueOf(quantity));
120 + }
114 /** 121 /**
115 * 初始化表基础字段 122 * 初始化表基础字段
116 */ 123 */
......