|
@@ -24,6 +24,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<result property="recyclingName" column="recycling_name" />
|
|
<result property="recyclingName" column="recycling_name" />
|
|
<result property="recyclingTime" column="recycling_time" />
|
|
<result property="recyclingTime" column="recycling_time" />
|
|
<result property="enterpriseName" column="enterprise_name" />
|
|
<result property="enterpriseName" column="enterprise_name" />
|
|
|
|
+ <result property="inspectorId" column="inspector_id" />
|
|
|
|
+ <result property="inspectorName" column="inspector_name" />
|
|
|
|
+ <result property="inspectorTime" column="inspector_time" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectCenterdataTHousingconstructionSteelcylinderLogVo">
|
|
<sql id="selectCenterdataTHousingconstructionSteelcylinderLogVo">
|
|
@@ -33,7 +36,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
|
<select id="selectCenterdataTHousingconstructionSteelcylinderLogList" parameterType="CenterdataTHousingconstructionSteelcylinderLog" resultMap="CenterdataTHousingconstructionSteelcylinderLogResult">
|
|
<select id="selectCenterdataTHousingconstructionSteelcylinderLogList" parameterType="CenterdataTHousingconstructionSteelcylinderLog" resultMap="CenterdataTHousingconstructionSteelcylinderLogResult">
|
|
select a.id, a.steelcylinder_id, a.steelcylinder_name, a.join_warehouse_time, a.filling_medium, a.filling_time, a.operator_id, a.operator_name, a.car_id,b.enterprise_name,
|
|
select a.id, a.steelcylinder_id, a.steelcylinder_name, a.join_warehouse_time, a.filling_medium, a.filling_time, a.operator_id, a.operator_name, a.car_id,b.enterprise_name,
|
|
- a.car_number, a.delivery_time, a.delivery_id, a.delivery_name, a.sign_time, a.join_house_id, a.join_house_name, a.recycling_name, a.recycling_time from centerdata_t_housingconstruction_steelcylinder_log a
|
|
|
|
|
|
+ a.car_number, a.delivery_time, a.delivery_id, a.delivery_name, a.sign_time, a.join_house_id, a.join_house_name, a.recycling_name,
|
|
|
|
+ a.recycling_time,a.inspector_id,a.inspector_name,a.inspector_time from centerdata_t_housingconstruction_steelcylinder_log a
|
|
left join centerdata_t_housingconstruction_steelcylinder b on a.steelcylinder_id = b.id
|
|
left join centerdata_t_housingconstruction_steelcylinder b on a.steelcylinder_id = b.id
|
|
left join ${database_system}.sys_dept d on b.dept_id = d.dept_id
|
|
left join ${database_system}.sys_dept d on b.dept_id = d.dept_id
|
|
<where>
|
|
<where>
|
|
@@ -70,6 +74,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="recyclingName != null">recycling_name,</if>
|
|
<if test="recyclingName != null">recycling_name,</if>
|
|
<if test="recyclingTime != null">recycling_time,</if>
|
|
<if test="recyclingTime != null">recycling_time,</if>
|
|
<if test="updateTime != null">update_time,</if>
|
|
<if test="updateTime != null">update_time,</if>
|
|
|
|
+ <if test="inspectorId != null">inspector_id,</if>
|
|
|
|
+ <if test="inspectorName != null">inspector_name,</if>
|
|
|
|
+ <if test="inspectorTime != null">inspector_time,</if>
|
|
</trim>
|
|
</trim>
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<if test="id != null and id != ''">#{id},</if>
|
|
<if test="id != null and id != ''">#{id},</if>
|
|
@@ -91,6 +98,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="recyclingName != null">#{recyclingName},</if>
|
|
<if test="recyclingName != null">#{recyclingName},</if>
|
|
<if test="recyclingTime != null">#{recyclingTime},</if>
|
|
<if test="recyclingTime != null">#{recyclingTime},</if>
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
<if test="updateTime != null">#{updateTime},</if>
|
|
|
|
+ <if test="inspectorId != null">#{inspectorId},</if>
|
|
|
|
+ <if test="inspectorName != null">#{inspectorName},</if>
|
|
|
|
+ <if test="inspectorTime != null">#{inspectorTime},</if>
|
|
</trim>
|
|
</trim>
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
@@ -115,6 +125,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<if test="recyclingName != null">recycling_name = #{recyclingName},</if>
|
|
<if test="recyclingName != null">recycling_name = #{recyclingName},</if>
|
|
<if test="recyclingTime != null">recycling_time = #{recyclingTime},</if>
|
|
<if test="recyclingTime != null">recycling_time = #{recyclingTime},</if>
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
<if test="updateTime != null">update_time = #{updateTime},</if>
|
|
|
|
+ <if test="inspectorId != null">inspector_id = #{inspectorId},</if>
|
|
|
|
+ <if test="inspectorName != null">inspector_name = #{inspectorName},</if>
|
|
|
|
+ <if test="inspectorTime != null">inspector_time = #{inspectorTime},</if>
|
|
</trim>
|
|
</trim>
|
|
where id = #{id}
|
|
where id = #{id}
|
|
</update>
|
|
</update>
|