|
|
|
@ -596,6 +596,8 @@ public class StudyFormFillServiceImpl extends ServiceImpl |
|
|
|
studyFormFillOld.setEndDate(new Date()); |
|
|
|
studyFormFillOld.setCclist(studyFormFill.getCclist()); |
|
|
|
studyFormFillOld.setCzlist(studyFormFill.getCzlist()); |
|
|
|
//生成检测板 |
|
|
|
genJcbList(studyFormFill, studyFormFill.getRemark()); |
|
|
|
} |
|
|
|
//生成物资 |
|
|
|
genResource(studyFormFillOld, studyFormFill.getRemark()); |
|
|
|
@ -622,7 +624,8 @@ public class StudyFormFillServiceImpl extends ServiceImpl |
|
|
|
studyFormFill.setBdbh(getSn(studyFormFill)); |
|
|
|
studyFormFill.setTjsj(new Date()); |
|
|
|
this.save(studyFormFill); |
|
|
|
|
|
|
|
//生成检测板 |
|
|
|
genJcbList(studyFormFill, studyFormFill.getRemark()); |
|
|
|
//生成物资 |
|
|
|
genResource(studyFormFill, studyFormFill.getRemark()); |
|
|
|
//稽查轨迹 |
|
|
|
@ -636,6 +639,16 @@ public class StudyFormFillServiceImpl extends ServiceImpl |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 生成检测板 |
|
|
|
* |
|
|
|
* @param studyFormFill |
|
|
|
* @param remark |
|
|
|
*/ |
|
|
|
public void genJcbList(StudyFormFill studyFormFill, String remark) { |
|
|
|
//todo |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* 生成物资 |
|
|
|
* |
|
|
|
* @param studyFormFill |
|
|
|
@ -643,7 +656,6 @@ public class StudyFormFillServiceImpl extends ServiceImpl |
|
|
|
*/ |
|
|
|
public void genResource(StudyFormFill studyFormFill, String remark) { |
|
|
|
Template template = templateService.getById(studyFormFill.getTemplateId()); |
|
|
|
//todo 保存检测板 |
|
|
|
|
|
|
|
// 处置,存放,用量 |
|
|
|
sjService.genResource(studyFormFill, template); |
|
|
|
|