|
@@ -1,6 +1,7 @@
|
|
|
package com.management.platform.controller;
|
|
|
|
|
|
|
|
|
+import com.management.platform.entity.FmwDetail;
|
|
|
import com.management.platform.service.FinanceMonthlyWorktimeService;
|
|
|
import com.management.platform.util.HttpRespMsg;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
@@ -26,8 +27,8 @@ public class FinanceMonthlyWorktimeController {
|
|
|
private FinanceMonthlyWorktimeService financeMonthlyWorktimeService;
|
|
|
|
|
|
@RequestMapping("/send")
|
|
|
- public HttpRespMsg send(@RequestParam("fmwId")String fmwId, @RequestParam("timesheetDate") String timesheetDate, HttpServletRequest request) {
|
|
|
- return financeMonthlyWorktimeService.send(fmwId,timesheetDate,request);
|
|
|
+ public HttpRespMsg send(@RequestParam("id")String id, @RequestParam("timesheetDate") String timesheetDate, HttpServletRequest request) {
|
|
|
+ return financeMonthlyWorktimeService.send(id,timesheetDate,request);
|
|
|
}
|
|
|
|
|
|
@RequestMapping("/getByMonth")
|
|
@@ -46,5 +47,15 @@ public class FinanceMonthlyWorktimeController {
|
|
|
public HttpRespMsg setTimesheetDate(Integer id, String timesheetDate, HttpServletRequest request) {
|
|
|
return financeMonthlyWorktimeService.setTimesheetDate(id, timesheetDate,request);
|
|
|
}
|
|
|
+
|
|
|
+ @RequestMapping("/changeWorktime")
|
|
|
+ public HttpRespMsg changeWorktime(FmwDetail detail, HttpServletRequest request) {
|
|
|
+ return financeMonthlyWorktimeService.changeWorktime(detail,request);
|
|
|
+ }
|
|
|
+
|
|
|
+ @RequestMapping("/setStatusFinal")
|
|
|
+ public HttpRespMsg setStatusFinal(Integer id, HttpServletRequest request) {
|
|
|
+ return financeMonthlyWorktimeService.setStatusFinal(id,request);
|
|
|
+ }
|
|
|
}
|
|
|
|