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