Commit f90770dc authored by 赵啸非's avatar 赵啸非

添加所属中心

parent 70d103d9
......@@ -27,4 +27,6 @@ public class ParamKey {
public static String SYS_PARAM_WEIGHT = "weight";
public static String SYS_PARAM_BELONG = "belong";
}
......@@ -7,8 +7,11 @@ import java.util.ArrayList;
import cn.hutool.core.date.DateUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.mortals.framework.annotation.Excel;
import com.mortals.framework.ap.GlobalSysInfo;
import com.mortals.framework.model.BaseEntityLong;
import com.mortals.xhx.common.key.ParamKey;
import com.mortals.xhx.module.staff.model.vo.StaffPerformSummaryVo;
import com.mortals.xhx.utils.SpringUtils;
import lombok.Data;
/**
* 员工绩效统计实体对象
......@@ -161,7 +164,10 @@ public class StaffPerformSummaryEntity extends StaffPerformSummaryVo {
this.month = DateUtil.month(new Date())+1;
this.belongCenter = "宜宾市民中心";
String belong = GlobalSysInfo.getParamValue(ParamKey.SYS_PARAM_BELONG);
// SpringUtils.getBean(Pa)
this.belongCenter = belong==null?"宜宾市民中心":belong;
this.salaId = null;
......
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