|
|
@ -1,6 +1,5 @@ |
|
|
package com.elink.esua.epdc.modules.item.controller; |
|
|
package com.elink.esua.epdc.modules.item.controller; |
|
|
|
|
|
|
|
|
import com.elink.esua.epdc.commons.tools.page.PageData; |
|
|
|
|
|
import com.elink.esua.epdc.commons.tools.security.user.SecurityUser; |
|
|
import com.elink.esua.epdc.commons.tools.security.user.SecurityUser; |
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
import com.elink.esua.epdc.commons.tools.utils.Result; |
|
|
import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils; |
|
|
import com.elink.esua.epdc.commons.tools.validator.ValidatorUtils; |
|
|
@ -15,7 +14,6 @@ import org.springframework.beans.factory.annotation.Autowired; |
|
|
import org.springframework.web.bind.annotation.*; |
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 移动端-项目表 |
|
|
* 移动端-项目表 |
|
|
@ -107,7 +105,7 @@ public class WorkItemController { |
|
|
@PostMapping("itemHandleSubmit") |
|
|
@PostMapping("itemHandleSubmit") |
|
|
public Result itemHandleSubmit(@RequestBody ItemHandleSubmitFormDTO dto) { |
|
|
public Result itemHandleSubmit(@RequestBody ItemHandleSubmitFormDTO dto) { |
|
|
ValidatorUtils.validateEntity(dto); |
|
|
ValidatorUtils.validateEntity(dto); |
|
|
return itemService.modifyHandleResult(dto); |
|
|
return itemService.submitItem(dto); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
@ -120,7 +118,7 @@ public class WorkItemController { |
|
|
@PostMapping("examineCaseWork") |
|
|
@PostMapping("examineCaseWork") |
|
|
public Result examineCaseWork(@RequestBody ExamineCaseFormDTO formDto) { |
|
|
public Result examineCaseWork(@RequestBody ExamineCaseFormDTO formDto) { |
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
ValidatorUtils.validateEntity(formDto); |
|
|
return itemService.examineCase(formDto); |
|
|
return itemService.submitJaItem(formDto); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@PostMapping("syc") |
|
|
@PostMapping("syc") |
|
|
@ -214,7 +212,7 @@ public class WorkItemController { |
|
|
@PostMapping("handleSubmit") |
|
|
@PostMapping("handleSubmit") |
|
|
public Result handleSubmit(@RequestBody ItemHandleSubmitFormDTO dto) { |
|
|
public Result handleSubmit(@RequestBody ItemHandleSubmitFormDTO dto) { |
|
|
ValidatorUtils.validateEntity(dto); |
|
|
ValidatorUtils.validateEntity(dto); |
|
|
return itemService.modifyHandleResult(dto); |
|
|
return itemService.submitItem(dto); |
|
|
} |
|
|
} |
|
|
/** |
|
|
/** |
|
|
* 获取满意度评价部门--工作端 |
|
|
* 获取满意度评价部门--工作端 |
|
|
@ -266,7 +264,7 @@ public class WorkItemController { |
|
|
*/ |
|
|
*/ |
|
|
@PostMapping("submitLawItem") |
|
|
@PostMapping("submitLawItem") |
|
|
public Result submitLawItem(@RequestBody ItemLawSubmitDTO formDto) { |
|
|
public Result submitLawItem(@RequestBody ItemLawSubmitDTO formDto) { |
|
|
return itemService.submitLawItem(formDto); |
|
|
return itemService.submitZfItemWork(formDto); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
|