ソースを参照

修改公出业务切技术BUG修复

anderx 3 年 前
コミット
021025184c
共有1 個のファイルを変更した2 個の追加2 個の削除を含む
  1. 2 2
      src/main/java/com/goafanti/weChat/service/impl/PublicReleaseServiceImpl.java

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

@@ -452,7 +452,7 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
 				}else {
 					prd.setDuration(duration);
 				}
-					index++;
+				index++;
 				if (!use.getAid().equals(u.getAid())){
 					addPublicExamine(use.getId(), u.getAid());
 					if (publicType==1)publicType=1;
@@ -475,8 +475,8 @@ public class PublicReleaseServiceImpl extends BaseMybatisDao<PublicReleaseMapper
 				}else {
 					newprd.setDuration(duration);
 				}
-				publicReleaseDetailsMapper.updateByPrimaryKeySelective(newprd);
 				index++;
+				publicReleaseDetailsMapper.updateByPrimaryKeySelective(newprd);
 			}
 		}
 		StringBuffer str=new StringBuffer();