5月10日--建国(Numeric value (693513511371800577) out of range of int, 'com.yida.service.OrderFaceSh

------------恢复内容开始------------

没人会帮你写代码,你永远记住。多问一下业务而不是技术问题。

Today Dinner

  1. bug:JSON parse error: Numeric value (693513511371800577) out of range of int (-2147483648 - 2147483647);
    原因:List<UserDO> getUserByIds(Integer<Long> ids);中Integer范围太小了。

  2. bug:Field orderFaceSheetBalanceQueryService in com.yida.controller.WarehouseSetupController required a bean of type 'com.yida.service.OrderFaceSheetBalanceQueryService' that could not be found.
    原因:service层没有加注解问题:@Service

  3. mybatis中CASE...THEN的坑:有一次

  4. 自己编写SQL的能力太差了。!!!
    SELECT
    bweb.id,
    bweb.warehouse_id,
    bw.warehouse_name,
    bweb.warehouse_express_id,
    be.express_name,
    be.express_code,
    bweb.network_name,
    bweb.province_name,
    bweb.city_name,
    bweb.area_name,
    bweb.remaining_face_number,
    bweb.status,
    bweb.rencent_query_time,
    bweb.error_message
    FROM basic_warehouse_express_bill AS bweb

    LEFT JOIN basic_warehouse AS bw ON bweb.warehouse_id = bw.id     LEFT JOIN basic_warehouse_express AS bwe ON bwe.id = bweb.warehouse_express_id     LEFT JOIN basic_express AS be ON bwe.express_id=be.id