考勤
This commit is contained in:
		| @ -26,7 +26,7 @@ snail-job: | ||||
|   # 随主应用端口漂移 | ||||
|   port: 2${server.port} | ||||
|   # 客户端ip指定 | ||||
|   host: | ||||
|   host: 127.0.0.1 | ||||
|   # RPC类型: netty, grpc | ||||
|   rpc-type: grpc | ||||
|  | ||||
|  | ||||
| @ -42,7 +42,7 @@ snail-job: | ||||
| --- # 监控中心配置 | ||||
| spring.boot.admin.client: | ||||
|   # 增加客户端开关 | ||||
|   enabled: true | ||||
|   enabled: false | ||||
|   url: http://192.168.110.119:9090/admin | ||||
|   instance: | ||||
|     service-host-type: IP | ||||
|  | ||||
| @ -42,7 +42,7 @@ snail-job: | ||||
| --- # 监控中心配置 | ||||
| spring.boot.admin.client: | ||||
|   # 增加客户端开关 | ||||
|   enabled: true | ||||
|   enabled: false | ||||
|   url: http://192.168.110.2:19191/admin | ||||
|   instance: | ||||
|     service-host-type: IP | ||||
|  | ||||
| @ -1,5 +1,5 @@ | ||||
| server: | ||||
|   port: 18833 | ||||
|   port: 8800 | ||||
|   servlet: | ||||
|     context-path: /snail-job | ||||
|  | ||||
|  | ||||
| @ -71,12 +71,11 @@ public class SubUserSalaryDetailController extends BaseController { | ||||
|         return R.ok(subUserSalaryDetailService.queryById(id)); | ||||
|     } | ||||
|  | ||||
|  | ||||
|     /** | ||||
|      * 工资计算与导出 | ||||
|      */ | ||||
|     @GetMapping("/salaryPageList") | ||||
|     public TableDataInfo<SubConstructionUserSalaryVo> salaryPageList(@Validated SubConstructionUserSalaryDto dto, PageQuery pageQuery) { | ||||
|     public TableDataInfo<SubConstructionUserSalaryVo> salaryPageList( SubConstructionUserSalaryDto dto, PageQuery pageQuery) { | ||||
|         return subUserSalaryDetailService.salaryPageList(dto, pageQuery); | ||||
|     } | ||||
|  | ||||
|  | ||||
| @ -62,7 +62,9 @@ public class SubConstructionUserSalaryVo implements Serializable { | ||||
|      */ | ||||
|     private String yhkOpeningBank; | ||||
|  | ||||
|  | ||||
|     /** | ||||
|      * 总工资 | ||||
|      */ | ||||
|     private BigDecimal totalSalary; | ||||
|  | ||||
|     /** | ||||
| @ -70,10 +72,19 @@ public class SubConstructionUserSalaryVo implements Serializable { | ||||
|      */ | ||||
|     private Long sysUserId; | ||||
|  | ||||
|     /** | ||||
|      * 工作天数 | ||||
|      */ | ||||
|     private Double workDay; | ||||
|  | ||||
|     /** | ||||
|      * 日薪 | ||||
|      */ | ||||
|     private BigDecimal salary; | ||||
|  | ||||
|     /** | ||||
|      * 时间 | ||||
|      */ | ||||
|     private String time; | ||||
|  | ||||
|     private Integer order; | ||||
|  | ||||
| @ -297,7 +297,7 @@ public class SubUserSalaryDetailServiceImpl extends ServiceImpl<SubUserSalaryDet | ||||
|         for (SubConstructionUserVo row : rows) { | ||||
|             SubConstructionUserSalaryVo vo = new SubConstructionUserSalaryVo(); | ||||
|             BeanUtil.copyProperties(row,vo); | ||||
|             vo.setSfzNumber(idCardEncryptorUtil.decrypt(vo.getSfzNumber())); | ||||
| //            vo.setSfzNumber(idCardEncryptorUtil.decrypt(vo.getSfzNumber())); | ||||
|             vo.setTime(dto.getTime()); | ||||
|             // 获取工资 | ||||
|             BigDecimal salary = row.getSalary(); | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 zt
					zt