hanfucheng hai 10 meses
pai
achega
133fd1b2a0

+ 5 - 1
src/main/java/com/sooka/sponest/data/housingconstruction/service/impl/CenterdataTHousingconstructionViewServiceImpl.java

@@ -269,7 +269,11 @@ public class CenterdataTHousingconstructionViewServiceImpl extends BaseServiceIm
                 break;
             case "5":
                 //配送员
-             //   mapList = centerdataTHousingconstructionViewMapper.getResourcePoint(storagetank);
+                CenterdataTHousingconstructionCar cars = new CenterdataTHousingconstructionCar();
+                setSookaDataBase(cars);
+                cars.setEnterpriseId(storagetank.getEnterpriseId());
+                cars.setCarNumber(storagetank.getName());
+                mapList = centerdataTHousingconstructionCarMapper.getCarList(cars);
         }
         return mapList;
     }

+ 1 - 0
src/main/resources/mapper/housingconstruction/CenterdataTHousingconstructionCarMapper.xml

@@ -167,6 +167,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="enterpriseId != null  and enterpriseId != ''"> and enterprise_id = #{enterpriseId}</if>
             <if test="enterpriseName != null  and enterpriseName != ''"> and enterprise_name like concat('%', #{enterpriseName}, '%')</if>
             <if test="carNumber != null  and carNumber != ''"> and car_number like concat('%', #{carNumber}, '%')</if>
+            <if test="escortName != null  and escortName != ''"> and escort_name like concat('%', #{escortName}, '%')</if>
             ${params.dataScope}
         </where>
     </select>