实训时间

This commit is contained in:
苏竹红
2024-05-25 17:12:11 +08:00
parent 06947c771c
commit 0ea385ed33
2 changed files with 3 additions and 1 deletions

View File

@@ -135,6 +135,7 @@
#{regionId} #{regionId}
</foreach> </foreach>
</if> </if>
order by a.update_time desc
</select> </select>
<select id="getRegionIdByid" resultType="java.lang.Long"> <select id="getRegionIdByid" resultType="java.lang.Long">
select r.parent_id select r.parent_id

View File

@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONObject;
import com.cool.store.dto.StaffExamInfoDTO; import com.cool.store.dto.StaffExamInfoDTO;
import com.cool.store.dto.ehr.FranchiseeInfoDTO; import com.cool.store.dto.ehr.FranchiseeInfoDTO;
import com.cool.store.dto.ehr.StaffBaseInfoDTO; import com.cool.store.dto.ehr.StaffBaseInfoDTO;
import com.cool.store.exception.ServiceException;
import com.cool.store.mq.util.HttpRestTemplateService; import com.cool.store.mq.util.HttpRestTemplateService;
import com.cool.store.service.XfsgEhrService; import com.cool.store.service.XfsgEhrService;
import com.cool.store.utils.SecureUtil; import com.cool.store.utils.SecureUtil;
@@ -43,7 +44,7 @@ public class XfsgEhrServiceImpl implements XfsgEhrService {
Integer code = result.getInteger("code"); Integer code = result.getInteger("code");
if (code != 0) { if (code != 0) {
log.info("xfsg#getUserInfoByCode,staffNumber:{},请求失败", staffNumber); log.info("xfsg#getUserInfoByCode,staffNumber:{},请求失败", staffNumber);
return null; throw new ServiceException("鲜丰水果"+result.getString("msg"));
} }
JSONObject data = result.getJSONObject("data"); JSONObject data = result.getJSONObject("data");
if (data == null) { if (data == null) {