fix:逻辑优化
This commit is contained in:
@@ -357,7 +357,7 @@ public class PdaIosOutServiceImpl implements PdaIosOutService {
|
|||||||
@Override
|
@Override
|
||||||
public PdaResponse pickUp(JSONObject whereJson) {
|
public PdaResponse pickUp(JSONObject whereJson) {
|
||||||
|
|
||||||
if (!"1".equals(whereJson.getString("point_status")) && "2".equals(whereJson.getString("point_status"))) {
|
if (!"1".equals(whereJson.getString("point_status")) && !"2".equals(whereJson.getString("point_status"))) {
|
||||||
throw new BadRequestException("确认取货功能只能将点位设置成空载具/空位");
|
throw new BadRequestException("确认取货功能只能将点位设置成空载具/空位");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user