Commit 2cc98dc2 authored by 赵啸非's avatar 赵啸非

修改员工导出

parent 94026760
package com.mortals.xhx.busiz.h5.web; package com.mortals.xhx.busiz.h5.web;
import cn.hutool.core.date.DateUtil;
import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject; import com.alibaba.fastjson.JSONObject;
import com.mortals.framework.annotation.UnAuth; import com.mortals.framework.annotation.UnAuth;
...@@ -263,6 +264,7 @@ public class ApiWebPerformController extends AbstractBaseController<PerformReq> ...@@ -263,6 +264,7 @@ public class ApiWebPerformController extends AbstractBaseController<PerformReq>
recordEntity.setCreateTime(new Date()); recordEntity.setCreateTime(new Date());
recordEntity.setWorkNum(staffEntity.getWorkNum()); recordEntity.setWorkNum(staffEntity.getWorkNum());
recordEntity.setWindowNum(req.getWindowNum()); recordEntity.setWindowNum(req.getWindowNum());
recordEntity.setReviewTime(DateUtil.parse(req.getReviewTime()));
PerformRulesCategoryEntity categoryEntity = categoryService.get(rule.getCategoryId()); PerformRulesCategoryEntity categoryEntity = categoryService.get(rule.getCategoryId());
recordEntity.setCategoryName(categoryEntity == null ? "" : categoryEntity.getName()); recordEntity.setCategoryName(categoryEntity == null ? "" : categoryEntity.getName());
PerformReviewRecordEntity save = reviewRecordService.save(recordEntity); PerformReviewRecordEntity save = reviewRecordService.save(recordEntity);
......
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