|
|
@@ -7,8 +7,8 @@ import com.jeesite.modules.mes.resp.CommonResp;
|
|
|
import com.jeesite.modules.mes.service.MesLaserService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
|
-import org.springframework.web.bind.annotation.GetMapping;
|
|
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestMethod;
|
|
|
import org.springframework.web.bind.annotation.RequestParam;
|
|
|
import org.springframework.web.bind.annotation.ResponseBody;
|
|
|
|
|
|
@@ -31,7 +31,7 @@ public class MesPdaProductController extends BaseController {
|
|
|
* 根据客户码查询钢印码,并在提交钢印码时校验是否一致。
|
|
|
* 请求参数:sn=客户码,steelSn=用户提交的钢印码(可选)
|
|
|
*/
|
|
|
- @GetMapping(value = "steelSn")
|
|
|
+ @RequestMapping(value = "steelSn", method = {RequestMethod.GET, RequestMethod.POST})
|
|
|
@ResponseBody
|
|
|
public CommonResp<Map<String, String>> steelSn(@RequestParam("sn") String sn,
|
|
|
@RequestParam(value = "steelSn", required = false) String submitSteelSn) {
|