记得上下班打卡 | git大法好,push需谨慎

Commit fbdb113e authored by 胡佳晨's avatar 胡佳晨

提交 erp 检查 商品编号是否能查询到数据

parent 563ac420
......@@ -422,7 +422,7 @@ public class WdtServiceImpl implements IGoblinErpService {
CheckGoodsBaseVo checkGoodsBaseVo = JsonUtils.fromJson(json, CheckGoodsBaseVo.class);
log.error("checkGoodsBaseVo = " + checkGoodsBaseVo);
if (checkGoodsBaseVo.getTotal_count() == 0) {
return ResponseDto.failure("商品不存在");
return ResponseDto.failure("ERP商品编码或ERP规格编码不存在");
} else {
return ResponseDto.success(true);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment