Browse Source

公出BUG修复

anderx 2 years ago
parent
commit
5be0c9cadd

+ 1 - 0
src/main/java/com/goafanti/common/mapper/PublicExamineMapper.xml

@@ -132,6 +132,7 @@
   </update>
 
 
+
   <select id="selectByPrid" parameterType="java.lang.Integer" resultMap="BaseResultMap">
     select
     <include refid="Base_Column_List" />

+ 1 - 1
src/main/java/com/goafanti/weChat/service/impl/PublicReleaseServiceImpl.java

@@ -341,7 +341,7 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
 				PublicExamine pe=new PublicExamine();
 				pe.setPrid(in.getId());
 				pe.setStatus(0);
-				publicExamineMapper.updateStatusByPrid(pe);
+				publicExamineMapper.updateByPridSelective(pe);
 			}
 			AdminListBo my = adminMapper.getDeptNameByAid(TokenManager.getAdminId());