|
|
@ -41,18 +41,18 @@ public interface EnOilManagementMapper extends EnOilManagementMapperExt { |
|
|
|
@Insert({ |
|
|
|
@Insert({ |
|
|
|
"insert into en_oil_management (`type`, transport_car_id, ", |
|
|
|
"insert into en_oil_management (`type`, transport_car_id, ", |
|
|
|
"transport_car_no, oil_type, ", |
|
|
|
"transport_car_no, oil_type, ", |
|
|
|
"supplier, in_quantity, ", |
|
|
|
"supplier, num, before_num, ", |
|
|
|
"out_quantity, remark, ", |
|
|
|
"change_num, remark, ", |
|
|
|
"`status`, create_user, ", |
|
|
|
"img, `status`, create_user, ", |
|
|
|
"create_user_name, create_time, ", |
|
|
|
"create_user_name, create_time, ", |
|
|
|
"update_user, update_user_name, ", |
|
|
|
"update_user, update_user_name, ", |
|
|
|
"update_time, ext_1, ", |
|
|
|
"update_time, ext_1, ", |
|
|
|
"ext_2, ext_3)", |
|
|
|
"ext_2, ext_3)", |
|
|
|
"values (#{type,jdbcType=INTEGER}, #{transportCarId,jdbcType=BIGINT}, ", |
|
|
|
"values (#{type,jdbcType=INTEGER}, #{transportCarId,jdbcType=BIGINT}, ", |
|
|
|
"#{transportCarNo,jdbcType=VARCHAR}, #{oilType,jdbcType=INTEGER}, ", |
|
|
|
"#{transportCarNo,jdbcType=VARCHAR}, #{oilType,jdbcType=INTEGER}, ", |
|
|
|
"#{supplier,jdbcType=VARCHAR}, #{inQuantity,jdbcType=DECIMAL}, ", |
|
|
|
"#{supplier,jdbcType=VARCHAR}, #{num,jdbcType=DECIMAL}, #{beforeNum,jdbcType=DECIMAL}, ", |
|
|
|
"#{outQuantity,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR}, ", |
|
|
|
"#{changeNum,jdbcType=DECIMAL}, #{remark,jdbcType=VARCHAR}, ", |
|
|
|
"#{status,jdbcType=INTEGER}, #{createUser,jdbcType=BIGINT}, ", |
|
|
|
"#{img,jdbcType=VARCHAR}, #{status,jdbcType=INTEGER}, #{createUser,jdbcType=BIGINT}, ", |
|
|
|
"#{createUserName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{createUserName,jdbcType=VARCHAR}, #{createTime,jdbcType=TIMESTAMP}, ", |
|
|
|
"#{updateUser,jdbcType=BIGINT}, #{updateUserName,jdbcType=VARCHAR}, ", |
|
|
|
"#{updateUser,jdbcType=BIGINT}, #{updateUserName,jdbcType=VARCHAR}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
|
"#{updateTime,jdbcType=TIMESTAMP}, #{ext1,jdbcType=VARCHAR}, ", |
|
|
@ -73,9 +73,11 @@ public interface EnOilManagementMapper extends EnOilManagementMapperExt { |
|
|
|
@Result(column="transport_car_no", property="transportCarNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="transport_car_no", property="transportCarNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="oil_type", property="oilType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="oil_type", property="oilType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="supplier", property="supplier", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="supplier", property="supplier", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="in_quantity", property="inQuantity", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="num", property="num", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="out_quantity", property="outQuantity", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="before_num", property="beforeNum", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="change_num", property="changeNum", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="img", property="img", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="create_user", property="createUser", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="create_user", property="createUser", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="create_user_name", property="createUserName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="create_user_name", property="createUserName", jdbcType=JdbcType.VARCHAR), |
|
|
@ -91,8 +93,8 @@ public interface EnOilManagementMapper extends EnOilManagementMapperExt { |
|
|
|
|
|
|
|
|
|
|
|
@Select({ |
|
|
|
@Select({ |
|
|
|
"select", |
|
|
|
"select", |
|
|
|
"id, `type`, transport_car_id, transport_car_no, oil_type, supplier, in_quantity, ", |
|
|
|
"id, `type`, transport_car_id, transport_car_no, oil_type, supplier, num, before_num, ", |
|
|
|
"out_quantity, remark, `status`, create_user, create_user_name, create_time, ", |
|
|
|
"change_num, remark, img, `status`, create_user, create_user_name, create_time, ", |
|
|
|
"update_user, update_user_name, update_time, ext_1, ext_2, ext_3", |
|
|
|
"update_user, update_user_name, update_time, ext_1, ext_2, ext_3", |
|
|
|
"from en_oil_management", |
|
|
|
"from en_oil_management", |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
|
"where id = #{id,jdbcType=BIGINT}" |
|
|
@ -104,9 +106,11 @@ public interface EnOilManagementMapper extends EnOilManagementMapperExt { |
|
|
|
@Result(column="transport_car_no", property="transportCarNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="transport_car_no", property="transportCarNo", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="oil_type", property="oilType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="oil_type", property="oilType", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="supplier", property="supplier", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="supplier", property="supplier", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="in_quantity", property="inQuantity", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="num", property="num", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="out_quantity", property="outQuantity", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="before_num", property="beforeNum", jdbcType=JdbcType.DECIMAL), |
|
|
|
|
|
|
|
@Result(column="change_num", property="changeNum", jdbcType=JdbcType.DECIMAL), |
|
|
|
@Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="remark", property="remark", jdbcType=JdbcType.VARCHAR), |
|
|
|
|
|
|
|
@Result(column="img", property="img", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="status", property="status", jdbcType=JdbcType.INTEGER), |
|
|
|
@Result(column="create_user", property="createUser", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="create_user", property="createUser", jdbcType=JdbcType.BIGINT), |
|
|
|
@Result(column="create_user_name", property="createUserName", jdbcType=JdbcType.VARCHAR), |
|
|
|
@Result(column="create_user_name", property="createUserName", jdbcType=JdbcType.VARCHAR), |
|
|
@ -136,9 +140,11 @@ public interface EnOilManagementMapper extends EnOilManagementMapperExt { |
|
|
|
"transport_car_no = #{transportCarNo,jdbcType=VARCHAR},", |
|
|
|
"transport_car_no = #{transportCarNo,jdbcType=VARCHAR},", |
|
|
|
"oil_type = #{oilType,jdbcType=INTEGER},", |
|
|
|
"oil_type = #{oilType,jdbcType=INTEGER},", |
|
|
|
"supplier = #{supplier,jdbcType=VARCHAR},", |
|
|
|
"supplier = #{supplier,jdbcType=VARCHAR},", |
|
|
|
"in_quantity = #{inQuantity,jdbcType=DECIMAL},", |
|
|
|
"num = #{num,jdbcType=DECIMAL},", |
|
|
|
"out_quantity = #{outQuantity,jdbcType=DECIMAL},", |
|
|
|
"before_num = #{beforeNum,jdbcType=DECIMAL},", |
|
|
|
|
|
|
|
"change_num = #{changeNum,jdbcType=DECIMAL},", |
|
|
|
"remark = #{remark,jdbcType=VARCHAR},", |
|
|
|
"remark = #{remark,jdbcType=VARCHAR},", |
|
|
|
|
|
|
|
"img = #{img,jdbcType=VARCHAR},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"`status` = #{status,jdbcType=INTEGER},", |
|
|
|
"create_user = #{createUser,jdbcType=BIGINT},", |
|
|
|
"create_user = #{createUser,jdbcType=BIGINT},", |
|
|
|
"create_user_name = #{createUserName,jdbcType=VARCHAR},", |
|
|
|
"create_user_name = #{createUserName,jdbcType=VARCHAR},", |
|
|
|