CZT
2024-01-30 f58c03f4c98b3664f22a3ec4e920fb2a42473ab9
src/main/java/com/fzzy/push/gd2022/GD2022ApiRemoteService2022.java
@@ -434,6 +434,13 @@
        }
        if (Constant.API_CODE_1208.equals(inteId)) {
            Gd2022Api1208 api1208 = new Gd2022Api1208();
            //包装储粮是,核查包存粮包数
            if(null == api1208.getBclbs()){
                api1208.setBclbs(0);
            }
            if("2".equals(api1208.getClfs()) && api1208.getBclbs() == 0){
                api1208.setBclbs((int)(api1208.getSjsl()/25));
            }
            BeanUtils.copyProperties(data, api1208);
            return JSON.toJSONString(api1208);
        }
@@ -883,6 +890,8 @@
                return ApiCodeConstant.API_CODE_CWBBXX;
            case "1503":
                return ApiCodeConstant.API_CODE_CWBBXX;
            case "1023":
                return ApiCodeConstant.API_CODE_XZBA;
            default:
                return inteId;
        }