he2802 2 年之前
父節點
當前提交
80ff419364

+ 1 - 0
run-dev.sh

@@ -22,6 +22,7 @@ docker run -p 5055:5055 --name ${app_name} \
 --link mysql:db \
 -e 'spring.profiles.active'=${profile_active} \
 -e TZ="Asia/Shanghai" \
+--add-host=gdxypx.xy.com:192.168.1.210 \
 -v /etc/localtime:/etc/localtime \
 -v /usr/share/fonts:/usr/share/fonts \
 -v /data/logs/dev_api:/logs \

+ 1 - 0
zhongzheng-system/src/main/java/com/zhongzheng/modules/grade/service/impl/ClassGradeServiceImpl.java

@@ -785,6 +785,7 @@ public class ClassGradeServiceImpl extends ServiceImpl<ClassGradeMapper, ClassGr
                     JSONObject fObject = dataArray.getJSONObject(0);
                     oldGradeNum = (Integer)fObject.get("num");
                 } catch (IOException e) {
+                    log.info("查询业务系统班级人数失败参数"+params,"");
                     throw new CustomException("同步查询班级人数请求错误"+e.getMessage());
                 }
                 if((peopleNum+oldGradeNum)>=3){ //全系统平台二建班级人数不能超300