|
@ -173,7 +173,7 @@ public class CapacityAssessmentRecordService extends BaseJpaService<CapacityAsse
|
|
|
public JSONObject capacityAssessment(String jsonData,String doctorId) throws Exception{
|
|
|
JSONObject result = new JSONObject();
|
|
|
JSONObject jsonObject = JSONObject.parseObject(jsonData);
|
|
|
CapacityAssessmentRecordDO recordDO = objectMapper.readValue(jsonObject.getJSONObject("assessment").toJSONString(), CapacityAssessmentRecordDO.class);
|
|
|
CapacityAssessmentRecordDO recordDO = JSONObject.parseObject(jsonObject.getJSONObject("assessment").toJSONString(), CapacityAssessmentRecordDO.class);
|
|
|
|
|
|
if(isCapacityAssessment(recordDO.getPatient())==0){
|
|
|
String year = DateUtil.getNowYear()+"";
|