rev:修改
This commit is contained in:
@@ -65,13 +65,13 @@ public class PublicServiceImpl implements PublicService {
|
||||
String code = whereJson.getString("code");
|
||||
Assert.notNull(code, "扫码内容为空!");
|
||||
// 判断是否存在逗号
|
||||
|
||||
if (code.contains(",")) {
|
||||
String[] arrCode = code.split(",");
|
||||
JSONObject paramJson = new JSONObject()
|
||||
.fluentPut("materialCode", arrCode[0])
|
||||
.fluentPut("pcsn", arrCode[1]);
|
||||
|
||||
|
||||
MesResponse<?> mesResponse = wmsToMesService.rawMaterialGroupInfo(paramJson);
|
||||
Assert.equals(HttpStatus.OK.value(), mesResponse.getStatus(), mesResponse.getMessage());
|
||||
return PdaResponse.requestParamOk(mesResponse.getData());
|
||||
|
||||
Reference in New Issue
Block a user