|
|
@@ -65,6 +65,7 @@ import com.zhongzheng.modules.user.service.IUserService;
|
|
|
import com.zhongzheng.modules.user.service.IUserStudyRecordPhotoService;
|
|
|
import com.zhongzheng.modules.user.vo.UserVo;
|
|
|
import com.zhongzheng.modules.wx.service.IWxLoginService;
|
|
|
+import org.apache.commons.lang3.StringUtils;
|
|
|
import org.apache.commons.lang3.time.DateFormatUtils;
|
|
|
import org.slf4j.Logger;
|
|
|
import org.slf4j.LoggerFactory;
|
|
|
@@ -843,6 +844,9 @@ public class UserPeriodServiceImpl extends ServiceImpl<UserPeriodMapper, UserPer
|
|
|
respone = HttpUtils.postFormBody(SYNC_PATH, params);
|
|
|
log.info("学时推送业务系统结果"+respone,"");
|
|
|
if (!respone.contains("\"Status\":true")) {
|
|
|
+ if(Validator.isNotEmpty(respone)){
|
|
|
+ respone = StringUtils.left(respone,300);
|
|
|
+ }
|
|
|
objectLambdaUpdateWrapper.set(ClassGradeUser::getToOldResult, respone);
|
|
|
objectLambdaUpdateWrapper.set(ClassGradeUser::getToOldStatus, -1);
|
|
|
iClassGradeUserService.update(null, objectLambdaUpdateWrapper);
|