hanfucheng 11 달 전
부모
커밋
66bb8f73c3
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      src/main/resources/mapper/housingconstruction/CenterdataTHousingconstructionViewMapper.xml

+ 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