|
|
@@ -24,6 +24,7 @@ import cn.hnthyy.thmz.enums.*;
|
|
|
import cn.hnthyy.thmz.mapper.his.mz.*;
|
|
|
import cn.hnthyy.thmz.mapper.his.yp.YpBaseYfMapper;
|
|
|
import cn.hnthyy.thmz.mapper.his.yp.YpMzFytjMapper;
|
|
|
+import cn.hnthyy.thmz.mapper.his.zd.JcZdClassMapper;
|
|
|
import cn.hnthyy.thmz.mapper.his.zd.JcZdItemMapper;
|
|
|
import cn.hnthyy.thmz.mapper.his.zd.MzZdYpYshMapper;
|
|
|
import cn.hnthyy.thmz.mapper.his.zd.OpRecordMapper;
|
|
|
@@ -213,6 +214,8 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
|
|
|
private DictDataService dictDataService;
|
|
|
@Resource
|
|
|
private MzOrderDetailService mzOrderDetailService;
|
|
|
+ @Resource
|
|
|
+ private JcZdClassMapper jcZdClassMapper;
|
|
|
//是否加收开关
|
|
|
@Value("${setUnitPrice}")
|
|
|
private boolean setUnitPrice;
|
|
|
@@ -3747,6 +3750,17 @@ public class MzChargeDetailServiceImpl implements MzChargeDetailService {
|
|
|
if (mzYjReqList == null || mzYjReqList.size() == 0) {
|
|
|
return null;
|
|
|
}
|
|
|
+ if(NumberEnum.ThREE.getCode().equals(reqType)){
|
|
|
+ for(MzYjReq mzYjReq: mzYjReqList){
|
|
|
+ JcZdItem jcZdItem = jcZdItemMapper.selectJcZdItemByCode(mzYjReq.getOrderCode());
|
|
|
+ if(jcZdItem !=null && StrUtil.isNotBlank(jcZdItem.getClassCode())){
|
|
|
+ JcZdClass jcZdClass = jcZdClassMapper.selectJcZdClassByCode(jcZdItem.getClassCode());
|
|
|
+ if(jcZdClass !=null && StrUtil.isNotBlank(jcZdClass.getComment8())){
|
|
|
+ mzYjReq.setComment8(jcZdClass.getComment8());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
Map<String, Object> resultMap = new HashMap<>();
|
|
|
resultMap.put("mzYjReqList", mzYjReqList);
|
|
|
MzYjReq mzYjReq = mzYjReqList.get(0);
|