代码提交
This commit is contained in:
parent
366cd7b1e1
commit
64b686ae6e
@ -195,6 +195,9 @@ public class NurseAppLoginServiceImpl implements NurseAppLoginService {
|
||||
} else {
|
||||
patientDisease.setAreaName("");
|
||||
}
|
||||
// 更新签约编号
|
||||
setSignInfo(patientDisease);
|
||||
|
||||
//查询所有商品订单
|
||||
List<GoodsOrder> goodsOrders = nurseAppLoginMapper.selectGoodsOrderListByPatient(patientId);
|
||||
if (CollectionUtils.isEmpty(goodsOrders)) {
|
||||
@ -209,8 +212,6 @@ public class NurseAppLoginServiceImpl implements NurseAppLoginService {
|
||||
patientDisease.setWaitReceivedGoodsCount(waitReceivedGoodsCount);
|
||||
patientDisease.setReceivedGoodsCount(receivedGoodsCount);
|
||||
patientDisease.setEvaluatedCount(evaluatedCount);
|
||||
// 更新签约编号
|
||||
setSignInfo(patientDisease);
|
||||
return AjaxResult.success(patientDisease);
|
||||
}
|
||||
|
||||
@ -220,7 +221,7 @@ public class NurseAppLoginServiceImpl implements NurseAppLoginService {
|
||||
try {
|
||||
String result = (String) httpService.get(SpringUtils.getFdUrl(patientDisease.getCityCode()) + "/resident/signinfo/detail/" + patientDisease.getCardNo(), null, String.class);
|
||||
JSONObject jsonObject = JSONObject.parseObject(result);
|
||||
if ("1".equals(jsonObject.get("code"))) {
|
||||
if (jsonObject.getInteger("code") == 1) {
|
||||
String signNo = "";
|
||||
if (jsonObject.getJSONObject("data") != null) {
|
||||
JSONObject signInfo = jsonObject.getJSONObject("data");
|
||||
|
||||
@ -26,6 +26,7 @@
|
||||
<result property="patientCode" column="patient_code"/>
|
||||
<result property="disease" column="disease"/>
|
||||
<result property="signNo" column="sign_no"/>
|
||||
<result property="cityCode" column="city_code"/>
|
||||
<collection property="patientDiseaseInfoList" javaType="java.util.List" resultMap="PatientDiseaseInfoResult"/>
|
||||
</resultMap>
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user