计算修改

This commit is contained in:
2026-07-22 15:53:16 +08:00
parent 58e4e55a61
commit a98e297d90
6 changed files with 21 additions and 3 deletions
@@ -22,7 +22,7 @@ public class CodeGenerator {
//自己的名字
static String Author = "gqb";
public static String tableName = "car_driving_license";
public static String tableName = "zt_story_month_workload";
/**
* <p>
@@ -100,5 +100,19 @@ public class ZtStoryExpand implements Serializable {
@TableField(exist = false)
private BigDecimal monthEvaluationTime;
/**
* 产品人员
*/
private String productPerson;
/**
* 开发人员
*/
private String developPerson;
/**
* 测试人员
*/
private String testPerson;
}
@@ -2522,7 +2522,7 @@ public class IZtCountService {
}
}
BigDecimal taskManageRate = BigDecimalUtils.isZero(allocationTime) ? BigDecimal.ZERO :allocationTime .divide(examineTime, 2, BigDecimal.ROUND_HALF_UP);
BigDecimal taskManageRate = BigDecimalUtils.isZero(allocationTime)||BigDecimalUtils.isZero(examineTime) ? BigDecimal.ZERO :allocationTime .divide(examineTime, 2, BigDecimal.ROUND_HALF_UP);
result.setAllocationTime(allocationTime);
result.setExamineTime(examineTime);
@@ -1023,6 +1023,7 @@ public class ZtTaskServiceImpl extends ServiceImpl<ZtTaskMapper, ZtTask> impleme
ztTask.setDeliverContent(dto.getDeliverContent());
ztTask.setLasteditedby(RiskUserThreadLocal.get().getName());
ztTask.setLastediteddate(new Date());
ztTask.setFeedbackRemark(dto.getFeedbackRemark());
this.baseMapper.updateById(ztTask);
ZtEffortDTO e = new ZtEffortDTO();