瀏覽代碼

财务-bug修改

wangqiang 2 年之前
父節點
當前提交
85523449b3

+ 0 - 3
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/reimbursementApproval/approvalInfo/domain/CwReimbursementDetailInfo.java

@@ -64,9 +64,6 @@ public class CwReimbursementDetailInfo extends BaseEntity {
      */
     private String reportNumber;
 
-    @TableField(exist = false)
-    private String reportNo;
-
     /**
      * 费用(元)
      */

+ 1 - 4
jeeplus-module/jeeplus-test/src/main/java/com/jeeplus/test/cw/reimbursementApproval/approvalInfo/service/CwReimbursementInfoService.java

@@ -185,8 +185,6 @@ public class CwReimbursementInfoService {
                 detailInfo.setDelFlag(0);
                 // 保存基础表信息主键值
                 detailInfo.setInfoId(id);
-                //设置报告号
-                detailInfo.setReportNumber(detailInfo.getReportNo());
                 detailInfoMapper.insert(detailInfo);
             }
         }
@@ -237,8 +235,6 @@ public class CwReimbursementInfoService {
                 detailInfo.setDelFlag(0);
                 // 保存基础表信息主键值
                 detailInfo.setInfoId(dto.getId());
-                //设置报告号
-                detailInfo.setReportNumber(detailInfo.getReportNo());
                 detailInfoMapper.insert(detailInfo);
             }
         }
@@ -296,6 +292,7 @@ public class CwReimbursementInfoService {
         LambdaQueryWrapper<CwReimbursementDetailInfo> detailInfoLambdaQueryWrapper = new LambdaQueryWrapper<>();
         detailInfoLambdaQueryWrapper.eq(CwReimbursementDetailInfo::getInfoId, id);
         List<CwReimbursementDetailInfo> detailInfos = detailInfoMapper.selectList(detailInfoLambdaQueryWrapper);
+
         dto.setDetailInfos(detailInfos);
         // 查询专用发票信息列表
         LambdaQueryWrapper<CwReimbursementAmountInfo> amountInfoLambdaQueryWrapper = new LambdaQueryWrapper<>();