|
@@ -7,10 +7,7 @@ import com.ym.mec.common.controller.BaseController;
|
|
|
import com.ym.mec.common.entity.HttpResponseResult;
|
|
|
import io.swagger.annotations.Api;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
-import org.springframework.web.bind.annotation.RequestBody;
|
|
|
-import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
-import org.springframework.web.bind.annotation.RestController;
|
|
|
+import org.springframework.web.bind.annotation.*;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.List;
|
|
@@ -23,7 +20,7 @@ public class OaContractsController extends BaseController {
|
|
|
@Autowired
|
|
|
private ContractService contractService;
|
|
|
|
|
|
- @GetMapping("finance")
|
|
|
+ @PostMapping("finance")
|
|
|
public HttpResponseResult<String> transferProduceContract(@RequestBody OAFinancialDto financialDto) {
|
|
|
// List<CirculationUser> circulationUsers = new ArrayList<>();
|
|
|
// CirculationUser circulationUser1 = new CirculationUser();
|