Browse Source

fix:[填报表单]生成检测板

master
15881625488@163.com 2 months ago
parent
commit
91c9ba97b9
1 changed files with 14 additions and 2 deletions
  1. +14
    -2
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyFormFillServiceImpl.java

+ 14
- 2
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyFormFillServiceImpl.java View File

@ -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);

Loading…
Cancel
Save