科内开单
This commit is contained in:
parent
94b31f131d
commit
1b37c7d5ab
@ -681,4 +681,16 @@ public class CommonUtil {
|
||||
public void insertLabReqdetail(LabReqdetail labReqdetail){
|
||||
labReqdetailMapper.insert(labReqdetail);
|
||||
}
|
||||
|
||||
|
||||
@Transactional
|
||||
public void saveReqInfo(List<LabReqmain> labReqmainList,List<LabReqdetail> labReqdetailList){
|
||||
for (LabReqmain labReqmain : labReqmainList) {
|
||||
insertLabReqmain(labReqmain);
|
||||
}
|
||||
for (LabReqdetail labReqdetail : labReqdetailList) {
|
||||
insertLabReqdetail(labReqdetail);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -229,18 +229,9 @@ public class ReqInputLisWorkServiceImpl implements ReqInputLisWorkService {
|
||||
}
|
||||
|
||||
//保存数据
|
||||
saveReqInfo(labReqmainList,labReqdetailList);
|
||||
commonUtil.saveReqInfo(labReqmainList,labReqdetailList);
|
||||
|
||||
}
|
||||
|
||||
|
||||
public void saveReqInfo(List<LabReqmain> labReqmainList,List<LabReqdetail> labReqdetailList){
|
||||
for (LabReqmain labReqmain : labReqmainList) {
|
||||
commonUtil.insertLabReqmain(labReqmain);
|
||||
}
|
||||
for (LabReqdetail labReqdetail : labReqdetailList) {
|
||||
commonUtil.insertLabReqdetail(labReqdetail);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user