Zhaops 6 anni fa
parent
commit
08f770b14c

+ 1 - 1
icssman-service/src/main/java/com/diagbot/facade/IntroduceInfoFacade.java

@@ -62,7 +62,7 @@ public class IntroduceInfoFacade extends IntroduceInfoServiceImpl {
      */
     public Boolean saveIntroduce(IntroduceVO introduceVO) {
         IntroduceInfo introduceInfo = new IntroduceInfo();
-        if (!(introduceVO.getId() == null)) {
+        if (!(introduceVO.getId() == null||introduceInfo.getId().equals(0))) {
             introduceInfo = this.getById(introduceVO.getId());
             introduceInfo.setModifier(UserUtils.getCurrentPrincipleID());
             introduceInfo.setGmtModified(DateUtil.now());