|
|
@@ -407,7 +407,7 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
redisCache.setCacheObject("doctorConfirm:" + collection.getId(), doctorConfirm);
|
|
|
if (addPrescribeResult > 0){
|
|
|
R result=new R();
|
|
|
- result.put("currentCode",collection.getPersonalCollectStatus());
|
|
|
+ result.put("personalCollectStatus",collection.getPersonalCollectStatus());
|
|
|
return result;
|
|
|
}
|
|
|
|
|
|
@@ -422,10 +422,10 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
fsPrescribe.setCreateTime(DateUtils.getNowDate());
|
|
|
fsPrescribe.setStatus(0);//待开方
|
|
|
fsPrescribe.setDoctorConfirm(0);//未确认
|
|
|
- fsPrescribe.setUsageJson(JSON.toJSONString(param.getAnswers()));
|
|
|
fsPrescribe.setHistoryAllergic(fsUserInformationCollection.getAllergy());
|
|
|
fsPrescribe.setPrescribeCode(prescribeCode);
|
|
|
fsPrescribe.setCollectionId(fsUserInformationCollection.getId());
|
|
|
+ fsPrescribe.setUserId(fsUserInformationCollection.getUserId());
|
|
|
//查询销售绑定医生
|
|
|
CompanyUser companyUser = companyUserMapper.selectCompanyUserByCompanyUserId(fsUserInformationCollection.getCompanyUserId());
|
|
|
if (companyUser == null || companyUser.getDoctorId() == null) {
|
|
|
@@ -461,6 +461,7 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
fsPrescribe.setPatientBirthday(birthday);
|
|
|
fsPrescribe.setPatientAge(String.valueOf(calculateAge(birthday)));
|
|
|
}
|
|
|
+ fsPrescribe.setWeight(String.valueOf(param.getPatientInfo().getWeight()));
|
|
|
fsPrescribe.setPatientId(param.getPatientInfo().getPatientId());
|
|
|
fsPrescribe.setPatientName(param.getPatientInfo().getPatientName());
|
|
|
fsPrescribe.setPatientTel(param.getPatientInfo().getMobile());
|
|
|
@@ -1714,7 +1715,7 @@ public class FsUserInformationCollectionServiceImpl extends ServiceImpl<FsUserIn
|
|
|
informationCollection.setPackageId(param.getPackageId());
|
|
|
informationCollection.setPayType(param.getPayType());
|
|
|
informationCollection.setAmount(param.getAmount());
|
|
|
- informationCollection.setPersonalCollectStatus(PostPayPrescStatusEnum.PACKAGE_BIND.getCode());
|
|
|
+ informationCollection.setPersonalCollectStatus(PostPayPrescStatusEnum.PENDING_SHARE.getCode());
|
|
|
int result = fsUserInformationCollectionMapper.updateFsUserInformationCollection(informationCollection);
|
|
|
if (result > 0){
|
|
|
return informationCollection.getId();
|