master
philip 3 years ago
parent 786c371f5d
commit bc81539ac5

@ -525,12 +525,10 @@ public class ProdReadyTaskServiceImpl extends ServiceImpl<ProdReadyTaskMapper, P
* -printNameisPrint
*/
JSONObject jsonObject = JSONObject.parseObject(post);
String code = jsonObject.getString("code");
if (code == null) {
}
if (post.indexOf("500") != -1) {
throw BusinessException.build("打印失败!");
Integer code = jsonObject.getInteger("code");
String msg = jsonObject.getString("msg");
if (code != 0){
throw BusinessException.build(msg);
}
if (printLogList.isEmpty()) {
printTag.setIsPrint("true");

Loading…
Cancel
Save