计算修改
This commit is contained in:
@@ -22,7 +22,7 @@ public class CodeGenerator {
|
|||||||
//自己的名字
|
//自己的名字
|
||||||
static String Author = "gqb";
|
static String Author = "gqb";
|
||||||
|
|
||||||
public static String tableName = "car_driving_license";
|
public static String tableName = "zt_story_month_workload";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* <p>
|
* <p>
|
||||||
|
|||||||
@@ -100,5 +100,19 @@ public class ZtStoryExpand implements Serializable {
|
|||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private BigDecimal monthEvaluationTime;
|
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.setAllocationTime(allocationTime);
|
||||||
result.setExamineTime(examineTime);
|
result.setExamineTime(examineTime);
|
||||||
|
|
||||||
|
|||||||
@@ -1023,6 +1023,7 @@ public class ZtTaskServiceImpl extends ServiceImpl<ZtTaskMapper, ZtTask> impleme
|
|||||||
ztTask.setDeliverContent(dto.getDeliverContent());
|
ztTask.setDeliverContent(dto.getDeliverContent());
|
||||||
ztTask.setLasteditedby(RiskUserThreadLocal.get().getName());
|
ztTask.setLasteditedby(RiskUserThreadLocal.get().getName());
|
||||||
ztTask.setLastediteddate(new Date());
|
ztTask.setLastediteddate(new Date());
|
||||||
|
ztTask.setFeedbackRemark(dto.getFeedbackRemark());
|
||||||
this.baseMapper.updateById(ztTask);
|
this.baseMapper.updateById(ztTask);
|
||||||
|
|
||||||
ZtEffortDTO e = new ZtEffortDTO();
|
ZtEffortDTO e = new ZtEffortDTO();
|
||||||
|
|||||||
@@ -816,7 +816,7 @@
|
|||||||
from zt_bug s
|
from zt_bug s
|
||||||
LEFT JOIN zt_bug_bind_user u on s.id = u.bug_id
|
LEFT JOIN zt_bug_bind_user u on s.id = u.bug_id
|
||||||
|
|
||||||
WHERE 1= 1 and u.assigned_to = #{account}
|
WHERE 1= 1 and (u.assigned_to = #{account} )
|
||||||
|
|
||||||
<if test="pIds != null and pIds.size() > 0">
|
<if test="pIds != null and pIds.size() > 0">
|
||||||
and s.product in
|
and s.product in
|
||||||
|
|||||||
@@ -19,6 +19,9 @@
|
|||||||
<result column="story_title" property="storyTitle" />
|
<result column="story_title" property="storyTitle" />
|
||||||
<result column="create_user_nickname" property="createUserNickname" />
|
<result column="create_user_nickname" property="createUserNickname" />
|
||||||
<result column="month_evaluation_time" property="monthEvaluationTime" />
|
<result column="month_evaluation_time" property="monthEvaluationTime" />
|
||||||
|
<result column="product_person" property="productPerson" />
|
||||||
|
<result column="develop_person" property="developPerson" />
|
||||||
|
<result column="test_person" property="testPerson" />
|
||||||
</resultMap>
|
</resultMap>
|
||||||
|
|
||||||
<select id="queryByMonthWithTitle" resultMap="BaseResultMap">
|
<select id="queryByMonthWithTitle" resultMap="BaseResultMap">
|
||||||
|
|||||||
Reference in New Issue
Block a user