|
|
@ -67,6 +67,8 @@ public class StudyFormFillServiceImpl extends ServiceImpl |
|
|
@Autowired |
|
|
@Autowired |
|
|
private IGyzjService gyzjService; |
|
|
private IGyzjService gyzjService; |
|
|
@Autowired |
|
|
@Autowired |
|
|
|
|
|
private IGspService gspService; |
|
|
|
|
|
@Autowired |
|
|
private IStudyFormPreService studyFormPreService; |
|
|
private IStudyFormPreService studyFormPreService; |
|
|
@Autowired |
|
|
@Autowired |
|
|
private IStudySubjectService studySubjectService; |
|
|
private IStudySubjectService studySubjectService; |
|
|
@ -477,7 +479,12 @@ public class StudyFormFillServiceImpl extends ServiceImpl |
|
|
checkPassword(qmr, studyFormFill.getQmrmm()); |
|
|
checkPassword(qmr, studyFormFill.getQmrmm()); |
|
|
if (studyFormFill.getId() != null) { |
|
|
if (studyFormFill.getId() != null) { |
|
|
StudyFormFill studyFormFillOld = this.queryInfo(studyFormFill.getId()); |
|
|
StudyFormFill studyFormFillOld = this.queryInfo(studyFormFill.getId()); |
|
|
//产生的药剂,不能存储吧?只能存储使用的 todo |
|
|
|
|
|
|
|
|
Template template = templateService.getById(studyFormFill.getTemplateId()); |
|
|
|
|
|
//只有列表有 开始配置 配置完成的时候,并且点了配置完成后 ,药剂存储才能选到配置出来的药剂,其余都只能选择使用的 |
|
|
|
|
|
sjService.storageResource(studyFormFillOld,template,studyFormFill.getRemark()); |
|
|
|
|
|
mjyService.storageResource(studyFormFillOld,template,studyFormFill.getRemark()); |
|
|
|
|
|
gyzjService.storageResource(studyFormFillOld,template,studyFormFill.getRemark()); |
|
|
|
|
|
gspService.storageResource(studyFormFillOld,template,studyFormFill.getRemark()); |
|
|
//稽查轨迹 |
|
|
//稽查轨迹 |
|
|
Map<String, String> formData = new LinkedHashMap<>(); |
|
|
Map<String, String> formData = new LinkedHashMap<>(); |
|
|
formData.put("存储位置", "todo"); |
|
|
formData.put("存储位置", "todo"); |
|
|
|