hanfucheng 10 月之前
父节点
当前提交
66bb8f73c3

+ 2 - 1
src/main/resources/mapper/housingconstruction/CenterdataTHousingconstructionViewMapper.xml

@@ -54,7 +54,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             a.driver_name driverName,
             b.phone,
             a.speed,
-            if(a.speed is not null,'1','2') state
+            a.enterprise_id enterpriseId,
+            a.enterprise_name enterpriseName
         FROM
             centerdata_t_housingconstruction_car a
             left join centerdata_t_housingconstruction_delivery_personnel b on a.driver_id = b.id