|
|
@@ -88,10 +88,10 @@ public class WxQuestionOneselfServiceImpl implements WxQuestionOneselfService { |
|
|
record.setCreateDate(now); |
|
|
record.setCreateDate(now); |
|
|
wxQuestionOneselfMapper.insert(record); |
|
|
wxQuestionOneselfMapper.insert(record); |
|
|
} else { |
|
|
} else { |
|
|
WxQuestionOneself byId = this.getById(record.getId()); |
|
|
|
|
|
if(!byId.getStatus().equals(EnumQuestionOneselfStatus.STATUS_THROW_IN.getCode())){ |
|
|
|
|
|
throw new MallinkException(ErrorCode.QUESTION_UPUP_LINE); |
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
// WxQuestionOneself byId = this.getById(record.getId()); |
|
|
|
|
|
// if(!byId.getStatus().equals(EnumQuestionOneselfStatus.STATUS_THROW_IN.getCode())){ |
|
|
|
|
|
// throw new MallinkException(ErrorCode.QUESTION_UPUP_LINE); |
|
|
|
|
|
// } |
|
|
|
|
|
|
|
|
WxQuestionOneselfTopic wxQuestionOneselfTopic = new WxQuestionOneselfTopic(); |
|
|
WxQuestionOneselfTopic wxQuestionOneselfTopic = new WxQuestionOneselfTopic(); |
|
|
wxQuestionOneselfTopic.updateTenantInfo(record); |
|
|
wxQuestionOneselfTopic.updateTenantInfo(record); |
|
|
|