|
|
|
@ -37,7 +37,6 @@ import org.springframework.validation.annotation.Validated;
|
|
|
|
|
import org.springframework.web.bind.annotation.*; |
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletRequest; |
|
|
|
|
import java.util.Map; |
|
|
|
|
import java.util.Objects; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
@ -133,19 +132,19 @@ public class PanFactoryDataController extends BladeController {
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ResponseBody |
|
|
|
|
@PostMapping("/test") |
|
|
|
|
@ApiOperationSupport(order = 1) |
|
|
|
|
@ApiOperation(value = "通常数据推送", notes = "传入factoryOrderDTO") |
|
|
|
|
public Resp test(@RequestBody Map<String,Object> map) { |
|
|
|
|
String unitNo = (String) map.get("unitNo"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//真正的处理需要的数据
|
|
|
|
|
panFactoryDataService.handleDataToPlatform("CS0011061260002",null); |
|
|
|
|
|
|
|
|
|
return null; |
|
|
|
|
} |
|
|
|
|
// @ResponseBody
|
|
|
|
|
// @PostMapping("/test")
|
|
|
|
|
// @ApiOperationSupport(order = 1)
|
|
|
|
|
// @ApiOperation(value = "通常数据推送", notes = "传入factoryOrderDTO")
|
|
|
|
|
// public Resp test(@RequestBody Map<String,Object> map) {
|
|
|
|
|
// String unitNo = (String) map.get("unitNo");
|
|
|
|
|
//
|
|
|
|
|
//
|
|
|
|
|
// //真正的处理需要的数据
|
|
|
|
|
// panFactoryDataService.handleDataToPlatform("CS0011061260002",null);
|
|
|
|
|
//
|
|
|
|
|
// return null;
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
|