Commit 316047ac authored by 周亚武's avatar 周亚武

钉钉相关接口

parent 5cb9b87f
......@@ -506,8 +506,8 @@ public class DingPersonServiceImpl extends AbstractDingTalkService implements ID
leaveRecordEntity.setEndTime(endTime1);
break;
case "时长":
leaveRecordEntity.setDuration(Integer.parseInt(componentValues.getValue()) * 60 * 60 * 8); //天转换成秒 一天工作时间9小时
leaveRecordEntity.setSourceDingTime(Integer.parseInt(componentValues.getValue()) + "天");
leaveRecordEntity.setDuration((int) Float.parseFloat(componentValues.getValue()) * 60 * 60 * 8); //天转换成秒 一天工作时间9小时
leaveRecordEntity.setSourceDingTime(Float.parseFloat(componentValues.getValue()) + "天");
break;
case "外出事由":
leaveRecordEntity.setReason(componentValues.getValue());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment