Browse Source

项目报验状态报表

wangming 1 năm trước cách đây
mục cha
commit
714968947d

+ 2 - 1
business-common/src/main/java/com/rongwei/bscommon/sys/service/impl/ZhcxItpProjectNodeStateServiceImpl.java

@@ -72,7 +72,6 @@ public class ZhcxItpProjectNodeStateServiceImpl extends ServiceImpl<ZhcxItpProje
                 entity.setId(stateDo.getId());
                 dto.setSaveType("update");
             }
-
             entity.setOuttimes(itpDo.getInspectioncount());
 
             //拒收
@@ -83,11 +82,13 @@ public class ZhcxItpProjectNodeStateServiceImpl extends ServiceImpl<ZhcxItpProje
             //接收
             if("50".equals(operType)) {
                 entity.setOutstate("10");
+                entity.setOutcompletetime(itpDo.getInspectioncomplatetime());
             }
 
             //有条件接收
             if ("60".equals(operType)) {
                 entity.setOutstate("30");
+                entity.setOutcompletetime(itpDo.getInspectioncomplatetime());
             }
 
             dto.setEntity(entity);

+ 6 - 0
business-entity/src/main/java/com/rongwei/bsentity/domain/ZhcxItpProjectNodeStateDo.java

@@ -82,5 +82,11 @@ public class ZhcxItpProjectNodeStateDo extends BaseDo {
     @TableField("OUTRESULT")
     private String outresult;
 
+    /**
+     * 外部报验完成时间
+     */
+    @TableField("OUTCOMPLETETIME")
+    private Date outcompletetime;
+
 
 }