@@ -130,7 +130,11 @@
</set>
where prid = #{prid}
</update>
-
+ <update id="updateStatusByPrid">
+ update public_examine
+ set status= #{status,jdbcType=INTEGER}
+ where prid = #{id,jdbcType=INTEGER}
+ </update>
<select id="selectByPrid" parameterType="java.lang.Integer" resultMap="BaseResultMap">
@@ -950,7 +950,7 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
PublicExamine newp=new PublicExamine();
newp.setId(pe.getId());
newp.setStatus(1);
- publicExamineMapper.updateByPrimaryKey(newp);
+ publicExamineMapper.updateByPrimaryKeySelective(newp);
x++;
}else {
if (pe.getStatus()==1){