|
@@ -34,12 +34,18 @@
|
|
|
<result column="order_no" jdbcType="VARCHAR" property="orderNo" />
|
|
<result column="order_no" jdbcType="VARCHAR" property="orderNo" />
|
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
<result column="update_time" jdbcType="TIMESTAMP" property="updateTime" />
|
|
|
<result column="update_status" jdbcType="INTEGER" property="updateStatus" />
|
|
<result column="update_status" jdbcType="INTEGER" property="updateStatus" />
|
|
|
|
|
+ <result column="assist" jdbcType="INTEGER" property="assist" />
|
|
|
|
|
+ <result column="assist_aid" jdbcType="VARCHAR" property="assistAid" />
|
|
|
|
|
+ <result column="assist_aid_name" jdbcType="VARCHAR" property="assistAidName" />
|
|
|
|
|
+ <result column="main_id" jdbcType="INTEGER" property="mainId" />
|
|
|
|
|
+ <result column="main_name" jdbcType="VARCHAR" property="mainName" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
<sql id="Base_Column_List">
|
|
<sql id="Base_Column_List">
|
|
|
id, `uid`, aid, release_start, release_end, remarks, annex_url, user_name, longitude,
|
|
id, `uid`, aid, release_start, release_end, remarks, annex_url, user_name, longitude,
|
|
|
latitude, `status`, create_time, clock_in, clock_in_time, photo_url, pid, pname,
|
|
latitude, `status`, create_time, clock_in, clock_in_time, photo_url, pid, pname,
|
|
|
ufid, duration, valid_date, new_user, sign_sum, main_status, supplement, audit_info,
|
|
ufid, duration, valid_date, new_user, sign_sum, main_status, supplement, audit_info,
|
|
|
- `plan`, expected_effect, next_plan, `type`, order_no, update_time, update_status
|
|
|
|
|
|
|
+ `plan`, expected_effect, next_plan, `type`, order_no, update_time, update_status,
|
|
|
|
|
+ assist, assist_aid, assist_aid_name, main_id, main_name
|
|
|
</sql>
|
|
</sql>
|
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
select
|
|
select
|
|
@@ -51,7 +57,8 @@
|
|
|
delete from public_release
|
|
delete from public_release
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</delete>
|
|
</delete>
|
|
|
- <insert id="insert" parameterType="com.goafanti.common.model.PublicRelease">
|
|
|
|
|
|
|
+
|
|
|
|
|
+ <insert id="insert" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.PublicRelease" useGeneratedKeys="true">
|
|
|
insert into public_release (id, `uid`, aid,
|
|
insert into public_release (id, `uid`, aid,
|
|
|
release_start, release_end, remarks,
|
|
release_start, release_end, remarks,
|
|
|
annex_url, user_name, longitude,
|
|
annex_url, user_name, longitude,
|
|
@@ -62,7 +69,9 @@
|
|
|
main_status, supplement, audit_info,
|
|
main_status, supplement, audit_info,
|
|
|
`plan`, expected_effect, next_plan,
|
|
`plan`, expected_effect, next_plan,
|
|
|
`type`, order_no, update_time,
|
|
`type`, order_no, update_time,
|
|
|
- update_status)
|
|
|
|
|
|
|
+ update_status, assist, assist_aid,
|
|
|
|
|
+ assist_aid_name, main_id, main_name
|
|
|
|
|
+ )
|
|
|
values (#{id,jdbcType=INTEGER}, #{uid,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR},
|
|
values (#{id,jdbcType=INTEGER}, #{uid,jdbcType=VARCHAR}, #{aid,jdbcType=VARCHAR},
|
|
|
#{releaseStart,jdbcType=TIMESTAMP}, #{releaseEnd,jdbcType=TIMESTAMP}, #{remarks,jdbcType=VARCHAR},
|
|
#{releaseStart,jdbcType=TIMESTAMP}, #{releaseEnd,jdbcType=TIMESTAMP}, #{remarks,jdbcType=VARCHAR},
|
|
|
#{annexUrl,jdbcType=VARCHAR}, #{userName,jdbcType=VARCHAR}, #{longitude,jdbcType=VARCHAR},
|
|
#{annexUrl,jdbcType=VARCHAR}, #{userName,jdbcType=VARCHAR}, #{longitude,jdbcType=VARCHAR},
|
|
@@ -73,7 +82,9 @@
|
|
|
#{mainStatus,jdbcType=INTEGER}, #{supplement,jdbcType=VARCHAR}, #{auditInfo,jdbcType=VARCHAR},
|
|
#{mainStatus,jdbcType=INTEGER}, #{supplement,jdbcType=VARCHAR}, #{auditInfo,jdbcType=VARCHAR},
|
|
|
#{plan,jdbcType=VARCHAR}, #{expectedEffect,jdbcType=VARCHAR}, #{nextPlan,jdbcType=VARCHAR},
|
|
#{plan,jdbcType=VARCHAR}, #{expectedEffect,jdbcType=VARCHAR}, #{nextPlan,jdbcType=VARCHAR},
|
|
|
#{type,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
|
|
#{type,jdbcType=INTEGER}, #{orderNo,jdbcType=VARCHAR}, #{updateTime,jdbcType=TIMESTAMP},
|
|
|
- #{updateStatus,jdbcType=INTEGER})
|
|
|
|
|
|
|
+ #{updateStatus,jdbcType=INTEGER}, #{assist,jdbcType=INTEGER}, #{assistAid,jdbcType=VARCHAR},
|
|
|
|
|
+ #{assistAidName,jdbcType=VARCHAR}, #{mainId,jdbcType=INTEGER}, #{mainName,jdbcType=VARCHAR}
|
|
|
|
|
+ )
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.PublicRelease" useGeneratedKeys="true">
|
|
<insert id="insertSelective" keyColumn="id" keyProperty="id" parameterType="com.goafanti.common.model.PublicRelease" useGeneratedKeys="true">
|
|
@@ -175,6 +186,21 @@
|
|
|
<if test="updateStatus != null">
|
|
<if test="updateStatus != null">
|
|
|
update_status,
|
|
update_status,
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="assist != null">
|
|
|
|
|
+ assist,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="assistAid != null">
|
|
|
|
|
+ assist_aid,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="assistAidName != null">
|
|
|
|
|
+ assist_aid_name,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="mainId != null">
|
|
|
|
|
+ main_id,
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="mainName != null">
|
|
|
|
|
+ main_name,
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="id != null">
|
|
<if test="id != null">
|
|
@@ -273,6 +299,21 @@
|
|
|
<if test="updateStatus != null">
|
|
<if test="updateStatus != null">
|
|
|
#{updateStatus,jdbcType=INTEGER},
|
|
#{updateStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="assist != null">
|
|
|
|
|
+ #{assist,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="assistAid != null">
|
|
|
|
|
+ #{assistAid,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="assistAidName != null">
|
|
|
|
|
+ #{assistAidName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="mainId != null">
|
|
|
|
|
+ #{mainId,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="mainName != null">
|
|
|
|
|
+ #{mainName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.PublicRelease">
|
|
<update id="updateByPrimaryKeySelective" parameterType="com.goafanti.common.model.PublicRelease">
|
|
@@ -371,6 +412,21 @@
|
|
|
<if test="updateStatus != null">
|
|
<if test="updateStatus != null">
|
|
|
update_status = #{updateStatus,jdbcType=INTEGER},
|
|
update_status = #{updateStatus,jdbcType=INTEGER},
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="assist != null">
|
|
|
|
|
+ assist = #{assist,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="assistAid != null">
|
|
|
|
|
+ assist_aid = #{assistAid,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="assistAidName != null">
|
|
|
|
|
+ assist_aid_name = #{assistAidName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="mainId != null">
|
|
|
|
|
+ main_id = #{mainId,jdbcType=INTEGER},
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="mainName != null">
|
|
|
|
|
+ main_name = #{mainName,jdbcType=VARCHAR},
|
|
|
|
|
+ </if>
|
|
|
</set>
|
|
</set>
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
</update>
|
|
@@ -406,7 +462,12 @@
|
|
|
`type` = #{type,jdbcType=INTEGER},
|
|
`type` = #{type,jdbcType=INTEGER},
|
|
|
order_no = #{orderNo,jdbcType=VARCHAR},
|
|
order_no = #{orderNo,jdbcType=VARCHAR},
|
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
update_time = #{updateTime,jdbcType=TIMESTAMP},
|
|
|
- update_status = #{updateStatus,jdbcType=INTEGER}
|
|
|
|
|
|
|
+ update_status = #{updateStatus,jdbcType=INTEGER},
|
|
|
|
|
+ assist = #{assist,jdbcType=INTEGER},
|
|
|
|
|
+ assist_aid = #{assistAid,jdbcType=VARCHAR},
|
|
|
|
|
+ assist_aid_name = #{assistAidName,jdbcType=VARCHAR},
|
|
|
|
|
+ main_id = #{mainId,jdbcType=INTEGER},
|
|
|
|
|
+ main_name = #{mainName,jdbcType=VARCHAR}
|
|
|
where id = #{id,jdbcType=INTEGER}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
|
</update>
|
|
</update>
|
|
|
|
|
|
|
@@ -417,24 +478,46 @@
|
|
|
where a.aid =#{aid} and a.uid =#{uid} and a.main_status =1 and a.create_time =b.create_time
|
|
where a.aid =#{aid} and a.uid =#{uid} and a.main_status =1 and a.create_time =b.create_time
|
|
|
</update>
|
|
</update>
|
|
|
|
|
|
|
|
|
|
+
|
|
|
<select id="listPublicRelease" resultType="com.goafanti.weChat.bo.OutPublicReleaseList">
|
|
<select id="listPublicRelease" resultType="com.goafanti.weChat.bo.OutPublicReleaseList">
|
|
|
- select a.id,b.nickname ,c.name aname,date_format(a.release_start,'%Y-%m-%d %H:%i:%S') releaseStarts,a.user_name userName,
|
|
|
|
|
|
|
+ select a.id,b.nickname ,c.name aname,date_format(a.release_start,'%Y-%m-%d %H:%i:%S') releaseStarts,a.user_name userName,a.aid,
|
|
|
date_format(a.release_end ,'%Y-%m-%d %H:%i:%S') releaseEnds,date_format(a.create_time ,'%Y-%m-%d %H:%i:%S') createTimes,a.status,
|
|
date_format(a.release_end ,'%Y-%m-%d %H:%i:%S') releaseEnds,date_format(a.create_time ,'%Y-%m-%d %H:%i:%S') createTimes,a.status,
|
|
|
- a.latitude ,a.longitude ,a.clock_in clockIn,date_format(a.update_time ,'%Y-%m-%d %H:%i:%S') updateTimes,a.update_status updateStatus
|
|
|
|
|
|
|
+ a.latitude ,a.longitude ,a.clock_in clockIn,date_format(a.update_time ,'%Y-%m-%d %H:%i:%S') updateTimes,a.update_status updateStatus,
|
|
|
|
|
+a.assist,a.assist_aid assistAid,a.assist_aid_name assistAidName,a.type,a.main_name mainName
|
|
|
from public_release a left join `user` b on a.uid =b.id left join admin c on a.aid =c.id
|
|
from public_release a left join `user` b on a.uid =b.id left join admin c on a.aid =c.id
|
|
|
<if test="type==2">
|
|
<if test="type==2">
|
|
|
left join department d on c.department_id =d.id
|
|
left join department d on c.department_id =d.id
|
|
|
</if>
|
|
</if>
|
|
|
where 1=1
|
|
where 1=1
|
|
|
- <if test="type==0">
|
|
|
|
|
- and a.aid= #{aid}
|
|
|
|
|
|
|
+ <if test="type==0">
|
|
|
|
|
+ <if test="assist == 2">
|
|
|
|
|
+ and a.assist =2
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="assist !=2 and assistType !=1">
|
|
|
|
|
+ and a.assist in(0,1)
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="assistType ==1">
|
|
|
|
|
+ and a.assist in(0,1,2)
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="aid !=null">
|
|
|
|
|
+ and a.aid= #{aid}
|
|
|
|
|
+ </if>
|
|
|
</if>
|
|
</if>
|
|
|
<if test="type==1">
|
|
<if test="type==1">
|
|
|
|
|
+ and a.assist in(0,1)
|
|
|
and c.reviewer = #{aid}
|
|
and c.reviewer = #{aid}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="type==2">
|
|
<if test="type==2">
|
|
|
|
|
+ and a.assist in(0,1)
|
|
|
and d.manager_id = #{aid}
|
|
and d.manager_id = #{aid}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="type==3">
|
|
|
|
|
+ and a.assist=2
|
|
|
|
|
+ <if test="aid !=null">
|
|
|
|
|
+ and a.aid= #{aid}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ and a.type = #{type}
|
|
|
|
|
+ </if>
|
|
|
<if test="clockTime !=null">
|
|
<if test="clockTime !=null">
|
|
|
and a.release_start < #{clockTime} and a.release_end > #{clockTime}
|
|
and a.release_start < #{clockTime} and a.release_end > #{clockTime}
|
|
|
</if>
|
|
</if>
|
|
@@ -463,14 +546,34 @@
|
|
|
</if>
|
|
</if>
|
|
|
where 1=1
|
|
where 1=1
|
|
|
<if test="type==0">
|
|
<if test="type==0">
|
|
|
- and a.aid= #{aid}
|
|
|
|
|
|
|
+ <if test="assist == 2">
|
|
|
|
|
+ and a.assist =2
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="assist !=2 and assistType !=1">
|
|
|
|
|
+ and a.assist in(0,1)
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="assistType ==1">
|
|
|
|
|
+ and a.assist in(0,1,2)
|
|
|
|
|
+ </if>
|
|
|
|
|
+ <if test="aid !=null">
|
|
|
|
|
+ and a.aid= #{aid}
|
|
|
|
|
+ </if>
|
|
|
</if>
|
|
</if>
|
|
|
<if test="type==1">
|
|
<if test="type==1">
|
|
|
|
|
+ and a.assist in(0,1)
|
|
|
and c.reviewer = #{aid}
|
|
and c.reviewer = #{aid}
|
|
|
</if>
|
|
</if>
|
|
|
<if test="type==2">
|
|
<if test="type==2">
|
|
|
|
|
+ and a.assist in(0,1)
|
|
|
and d.manager_id = #{aid}
|
|
and d.manager_id = #{aid}
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="type==3">
|
|
|
|
|
+ and a.assist=2
|
|
|
|
|
+ <if test="aid !=null">
|
|
|
|
|
+ and a.aid= #{aid}
|
|
|
|
|
+ </if>
|
|
|
|
|
+ and a.type = #{type}
|
|
|
|
|
+ </if>
|
|
|
<if test="clockTime !=null">
|
|
<if test="clockTime !=null">
|
|
|
and a.release_start < #{clockTime} and a.release_end > #{clockTime}
|
|
and a.release_start < #{clockTime} and a.release_end > #{clockTime}
|
|
|
</if>
|
|
</if>
|
|
@@ -493,7 +596,8 @@
|
|
|
date_format(a.release_end ,'%Y-%m-%d %H:%i:%S') releaseEnds,date_format(a.create_time ,'%Y-%m-%d %H:%i:%S') createTimes,a.status,
|
|
date_format(a.release_end ,'%Y-%m-%d %H:%i:%S') releaseEnds,date_format(a.create_time ,'%Y-%m-%d %H:%i:%S') createTimes,a.status,
|
|
|
a.annex_url annexUrl ,a.remarks,a.duration ,a.valid_date validDate ,a.latitude ,a.longitude ,a.aid ,c.superior_id suprId,a.uid,
|
|
a.annex_url annexUrl ,a.remarks,a.duration ,a.valid_date validDate ,a.latitude ,a.longitude ,a.aid ,c.superior_id suprId,a.uid,
|
|
|
a.clock_in clockIn ,a.plan ,a.expected_effect expectedEffect,a.next_plan nextPlan,c.reviewer,a.type,a.order_no orderNo,d.contract_no contractNo,
|
|
a.clock_in clockIn ,a.plan ,a.expected_effect expectedEffect,a.next_plan nextPlan,c.reviewer,a.type,a.order_no orderNo,d.contract_no contractNo,
|
|
|
- date_format(a.update_time ,'%Y-%m-%d %H:%i:%S') updateTimes,a.update_Status updateStatus
|
|
|
|
|
|
|
+ date_format(a.update_time ,'%Y-%m-%d %H:%i:%S') updateTimes,a.update_Status updateStatus,a.assist,a.assist_aid assistAid,a.assist_aid_name assistAidName,
|
|
|
|
|
+ a.main_name mainName
|
|
|
from public_release a left join `user` b on a.uid =b.id left join admin c on a.aid =c.id
|
|
from public_release a left join `user` b on a.uid =b.id left join admin c on a.aid =c.id
|
|
|
left join t_order_new d on a.order_no=d.order_no
|
|
left join t_order_new d on a.order_no=d.order_no
|
|
|
where 1=1
|
|
where 1=1
|
|
@@ -553,7 +657,8 @@
|
|
|
date_format(a.clock_in_time ,'%Y-%m-%d %H:%i:%S') clockInTimes,a.clock_in clockIn,a.remarks,a.supplement,a.type,
|
|
date_format(a.clock_in_time ,'%Y-%m-%d %H:%i:%S') clockInTimes,a.clock_in clockIn,a.remarks,a.supplement,a.type,
|
|
|
date_format(a.create_time ,'%Y-%m-%d %H:%i:%S') createTimes,a.audit_info auditInfo,d.name sname,
|
|
date_format(a.create_time ,'%Y-%m-%d %H:%i:%S') createTimes,a.audit_info auditInfo,d.name sname,
|
|
|
date_format(a.release_start,'%Y-%m-%d %H:%i:%S') releaseStarts,date_format(a.release_end ,'%Y-%m-%d %H:%i:%S') releaseEnds,
|
|
date_format(a.release_start,'%Y-%m-%d %H:%i:%S') releaseStarts,date_format(a.release_end ,'%Y-%m-%d %H:%i:%S') releaseEnds,
|
|
|
- a.plan ,a.next_plan nextPlan ,a.expected_effect expectedEffect,a.update_status updateStatus
|
|
|
|
|
|
|
+ a.plan ,a.next_plan nextPlan ,a.expected_effect expectedEffect,a.update_status updateStatus,a.assist_aid_name assistAidName,
|
|
|
|
|
+ a.main_name mainName,a.assist
|
|
|
from public_release a left join `user` b on a.uid=b.id left join admin c on a.aid =c.id
|
|
from public_release a left join `user` b on a.uid=b.id left join admin c on a.aid =c.id
|
|
|
left join admin d on b.aid=d.id where 1=1
|
|
left join admin d on b.aid=d.id where 1=1
|
|
|
<if test="publicType != null">
|
|
<if test="publicType != null">
|
|
@@ -580,6 +685,9 @@
|
|
|
<if test="releaseStart != null and releaseEnd != null">
|
|
<if test="releaseStart != null and releaseEnd != null">
|
|
|
and (a.release_start between #{releaseStart} and #{releaseEnd} or a.release_end between #{releaseStart} and #{releaseEnd})
|
|
and (a.release_start between #{releaseStart} and #{releaseEnd} or a.release_end between #{releaseStart} and #{releaseEnd})
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="createStart != null and createEnd != null">
|
|
|
|
|
+ and a.create_time between #{createStart} and #{createEnd}
|
|
|
|
|
+ </if>
|
|
|
<if test="status != null">
|
|
<if test="status != null">
|
|
|
and a.status = #{status}
|
|
and a.status = #{status}
|
|
|
</if>
|
|
</if>
|
|
@@ -621,6 +729,9 @@
|
|
|
<if test="releaseStart != null and releaseEnd != null">
|
|
<if test="releaseStart != null and releaseEnd != null">
|
|
|
and (a.release_start between #{releaseStart} and #{releaseEnd} or a.release_end between #{releaseStart} and #{releaseEnd})
|
|
and (a.release_start between #{releaseStart} and #{releaseEnd} or a.release_end between #{releaseStart} and #{releaseEnd})
|
|
|
</if>
|
|
</if>
|
|
|
|
|
+ <if test="createStart != null and createEnd != null">
|
|
|
|
|
+ and a.create_time between #{createStart} and #{createEnd}
|
|
|
|
|
+ </if>
|
|
|
<if test="status != null">
|
|
<if test="status != null">
|
|
|
and a.status = #{status}
|
|
and a.status = #{status}
|
|
|
</if>
|
|
</if>
|
|
@@ -651,4 +762,14 @@
|
|
|
left join admin c on a.aid =c.id
|
|
left join admin c on a.aid =c.id
|
|
|
where a.order_no = #{orderNo}
|
|
where a.order_no = #{orderNo}
|
|
|
</select>
|
|
</select>
|
|
|
|
|
+ <select id="selectByMainId" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
|
|
+ select
|
|
|
|
|
+ <include refid="Base_Column_List" />
|
|
|
|
|
+ from public_release
|
|
|
|
|
+ where main_id = #{mainId}
|
|
|
|
|
+ </select>
|
|
|
|
|
+ <update id="updateStatusByMainId">
|
|
|
|
|
+ update public_release set status= #{status}
|
|
|
|
|
+ where main_id= #{mainId}
|
|
|
|
|
+ </update>
|
|
|
</mapper>
|
|
</mapper>
|