|
|
@ -1107,6 +1107,17 @@ public class ProjectServiceImpl extends BaseServiceImpl<ProjectDao, ProjectEntit |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description |
|
|
|
* @param ifPrecise imprecise(不精确,两个日期中间包含多少工作日,都按照二十四小时计算) | precise(精确,两个日期中间包含多少工作日,开头一天的时间到第二日凌晨所剩的分钟数以及最后一次从凌晨到精确时分的分钟数) |
|
|
|
* @param ifCustom custom(使用客户自定义计算方式) | default(使用默认计算方式) |
|
|
|
* @param identity 给此次计算一个唯一索引,为了在批量计算中锁定结果 |
|
|
|
* @param left 开始日期 |
|
|
|
* @param right 结束日期 |
|
|
|
* @return java.lang.Integer |
|
|
|
* @author wangc |
|
|
|
* @date 2021.03.21 23:32 |
|
|
|
*/ |
|
|
|
private Integer calculateDelta_T(String ifPrecise,String ifCustom,String identity,Date left,Date right){ |
|
|
|
WorkMinuteFormDTO timeParam = new WorkMinuteFormDTO(); |
|
|
|
timeParam.setIfPrecise(ifPrecise); |
|
|
|