Browse Source

feat: [模板管理] 生成检测板

master
memorylkf 2 months ago
parent
commit
ddac81729f
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/StudyFormFillServiceImpl.java

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

@ -78,6 +78,8 @@ public class StudyFormFillServiceImpl extends ServiceImpl
private IStudyFormPreService studyFormPreService; private IStudyFormPreService studyFormPreService;
@Autowired @Autowired
private IStudySubjectService studySubjectService; private IStudySubjectService studySubjectService;
@Autowired
private IJcbService jcbService;
/** /**
@ -645,7 +647,12 @@ public class StudyFormFillServiceImpl extends ServiceImpl
* @param remark * @param remark
*/ */
public void genJcbList(StudyFormFill studyFormFill, String remark) { public void genJcbList(StudyFormFill studyFormFill, String remark) {
//todo
if(StringUtils.isNoneBlank(studyFormFill.getJcbList())){
List<Jcb> jcbList = JSONArray.parseArray(studyFormFill.getJcbList(),Jcb.class);
if(jcbList!=null && jcbList.size()>0){
jcbService.saveBatch(jcbList);
}
}
} }
/** /**

Loading…
Cancel
Save