Przeglądaj źródła

[CODE]: 车队、车辆、司机--> add、update、delete、list

maxianghua 4 lat temu
rodzic
commit
1b43a35965
15 zmienionych plików z 1636 dodań i 0 usunięć
  1. 118 0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/fleet/compayMsg/FleetCarManageController.java
  2. 118 0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/fleet/compayMsg/FleetCompanyMsgController.java
  3. 115 0
      ruoyi-admin/src/main/java/com/ruoyi/web/controller/fleet/compayMsg/FleetDriverMsgController.java
  4. 63 0
      ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/mapper/FleetCarManageMapper.java
  5. 62 0
      ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/mapper/FleetCompanyMsgMapper.java
  6. 63 0
      ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/mapper/FleetDriverMsgMapper.java
  7. 62 0
      ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/service/IFleetCarManageService.java
  8. 63 0
      ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/service/IFleetCompanyMsgService.java
  9. 62 0
      ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/service/IFleetDriverMsgService.java
  10. 98 0
      ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/service/impl/FleetCarManageServiceImpl.java
  11. 98 0
      ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/service/impl/FleetCompanyMsgServiceImpl.java
  12. 98 0
      ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/service/impl/FleetDriverMsgServiceImpl.java
  13. 243 0
      ruoyi-fleet/src/main/resources/mapper/FleetCarManageMapper.xml
  14. 230 0
      ruoyi-fleet/src/main/resources/mapper/FleetCompanyMsgMapper.xml
  15. 143 0
      ruoyi-fleet/src/main/resources/mapper/FleetDriverMsgMapper.xml

+ 118 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/fleet/compayMsg/FleetCarManageController.java

@@ -0,0 +1,118 @@
+package com.ruoyi.web.controller.fleet.compayMsg;
+
+import java.util.List;
+
+import com.ruoyi.common.utils.SecurityUtils;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.orderManagement.domain.FleetCarManage;
+import com.ruoyi.orderManagement.service.IFleetCarManageService;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 【车辆】Controller
+ * 
+ * @author ruoyi
+ * @date 2021-03-04
+ */
+@RestController
+@RequestMapping("/fleet/carManage")
+public class FleetCarManageController extends BaseController
+{
+    @Autowired
+    private IFleetCarManageService fleetCarManageService;
+
+    /**
+     * 查询【车辆】列表
+     */
+    @GetMapping("/list")
+    public TableDataInfo list(FleetCarManage fleetCarManage)
+    {
+        startPage();
+        List<FleetCarManage> list = fleetCarManageService.selectFleetCarManageList(fleetCarManage);
+        return getDataTable(list);
+    }
+
+    /**
+     * 查询【车辆】列表
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:carManage:list')")
+    @GetMapping("/query")
+    public TableDataInfo query(FleetCarManage fleetCarManage)
+    {
+        startPage();
+        List<FleetCarManage> list = fleetCarManageService.selectFleetCarManageList(fleetCarManage);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出【车辆】列表
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:carManage:export')")
+    @Log(title = "【车辆】", businessType = BusinessType.EXPORT)
+    @GetMapping("/export")
+    public AjaxResult export(FleetCarManage fleetCarManage)
+    {
+        List<FleetCarManage> list = fleetCarManageService.selectFleetCarManageList(fleetCarManage);
+        ExcelUtil<FleetCarManage> util = new ExcelUtil<FleetCarManage>(FleetCarManage.class);
+        return util.exportExcel(list, "manage");
+    }
+
+    /**
+     * 获取【车辆】详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:carManage:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return AjaxResult.success(fleetCarManageService.selectFleetCarManageById(id));
+    }
+
+    /**
+     * 新增【车辆】
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:carManage:add')")
+    @Log(title = "【车辆】", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody FleetCarManage fleetCarManage)
+    {
+        fleetCarManage.setCreateBy(SecurityUtils.getUsername());
+        return toAjax(fleetCarManageService.insertFleetCarManage(fleetCarManage));
+    }
+
+    /**
+     * 修改【车辆】
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:carManage:edit')")
+    @Log(title = "【车辆】", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody FleetCarManage fleetCarManage)
+    {
+        fleetCarManage.setCreateBy(SecurityUtils.getUsername());
+        return toAjax(fleetCarManageService.updateFleetCarManage(fleetCarManage));
+    }
+
+    /**
+     * 删除【车辆】
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:carManage:remove')")
+    @Log(title = "【车辆】", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(fleetCarManageService.deleteFleetCarManageByIds(ids));
+    }
+}

+ 118 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/fleet/compayMsg/FleetCompanyMsgController.java

@@ -0,0 +1,118 @@
+package com.ruoyi.web.controller.fleet.compayMsg;
+
+import java.util.List;
+
+import com.ruoyi.common.utils.SecurityUtils;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.orderManagement.domain.FleetCompanyMsg;
+import com.ruoyi.orderManagement.service.IFleetCompanyMsgService;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 【车队】Controller
+ * 
+ * @author ruoyi
+ * @date 2021-03-04
+ */
+@RestController
+@RequestMapping("/fleet/companyMsg")
+public class FleetCompanyMsgController extends BaseController
+{
+    @Autowired
+    private IFleetCompanyMsgService fleetCompanyMsgService;
+
+    /**
+     * 查询【车队】列表
+     */
+    @GetMapping("/list")
+    public TableDataInfo list(FleetCompanyMsg fleetCompanyMsg)
+    {
+        startPage();
+        List<FleetCompanyMsg> list = fleetCompanyMsgService.selectFleetCompanyMsgList(fleetCompanyMsg);
+        return getDataTable(list);
+    }
+
+    /**
+     * 查询【车队】列表
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:companyMsg:list')")
+    @GetMapping("/query")
+    public TableDataInfo query(FleetCompanyMsg fleetCompanyMsg)
+    {
+        startPage();
+        List<FleetCompanyMsg> list = fleetCompanyMsgService.selectFleetCompanyMsgList(fleetCompanyMsg);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出【车队】列表
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:companyMsg:export')")
+    @Log(title = "【车队】", businessType = BusinessType.EXPORT)
+    @GetMapping("/export")
+    public AjaxResult export(FleetCompanyMsg fleetCompanyMsg)
+    {
+        List<FleetCompanyMsg> list = fleetCompanyMsgService.selectFleetCompanyMsgList(fleetCompanyMsg);
+        ExcelUtil<FleetCompanyMsg> util = new ExcelUtil<FleetCompanyMsg>(FleetCompanyMsg.class);
+        return util.exportExcel(list, "msg");
+    }
+
+    /**
+     * 获取【车队】详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:companyMsg:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return AjaxResult.success(fleetCompanyMsgService.selectFleetCompanyMsgById(id));
+    }
+
+    /**
+     * 新增【车队】
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:companyMsg:add')")
+    @Log(title = "【车队】", businessType = BusinessType.INSERT)
+    @PostMapping(value = "/add")
+    public AjaxResult add(@RequestBody FleetCompanyMsg fleetCompanyMsg)
+    {
+        fleetCompanyMsg.setCreateBy(SecurityUtils.getUsername());
+        return toAjax(fleetCompanyMsgService.insertFleetCompanyMsg(fleetCompanyMsg));
+    }
+
+    /**
+     * 修改【车队】
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:companyMsg:edit')")
+    @Log(title = "【车队】", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody FleetCompanyMsg fleetCompanyMsg)
+    {
+        fleetCompanyMsg.setCreateBy(SecurityUtils.getUsername());
+        return toAjax(fleetCompanyMsgService.updateFleetCompanyMsg(fleetCompanyMsg));
+    }
+
+    /**
+     * 删除【车队】
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:companyMsg:remove')")
+    @Log(title = "【车队】", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(fleetCompanyMsgService.deleteFleetCompanyMsgByIds(ids));
+    }
+}

+ 115 - 0
ruoyi-admin/src/main/java/com/ruoyi/web/controller/fleet/compayMsg/FleetDriverMsgController.java

@@ -0,0 +1,115 @@
+package com.ruoyi.web.controller.fleet.compayMsg;
+
+import java.util.List;
+
+import com.ruoyi.common.utils.SecurityUtils;
+import com.ruoyi.common.utils.poi.ExcelUtil;
+import com.ruoyi.orderManagement.domain.FleetDriverMsg;
+import com.ruoyi.orderManagement.service.IFleetDriverMsgService;
+import org.springframework.security.access.prepost.PreAuthorize;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.GetMapping;
+import org.springframework.web.bind.annotation.PostMapping;
+import org.springframework.web.bind.annotation.PutMapping;
+import org.springframework.web.bind.annotation.DeleteMapping;
+import org.springframework.web.bind.annotation.PathVariable;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RestController;
+import com.ruoyi.common.annotation.Log;
+import com.ruoyi.common.core.controller.BaseController;
+import com.ruoyi.common.core.domain.AjaxResult;
+import com.ruoyi.common.enums.BusinessType;
+import com.ruoyi.common.core.page.TableDataInfo;
+
+/**
+ * 【司机】Controller
+ * 
+ * @author ruoyi
+ * @date 2021-03-04
+ */
+@RestController
+@RequestMapping("/fleet/driverMsg")
+public class FleetDriverMsgController extends BaseController
+{
+    @Autowired
+    private IFleetDriverMsgService fleetDriverMsgService;
+
+    /**
+     * 查询【司机】列表
+     */
+    @GetMapping("/list")
+    public TableDataInfo list(FleetDriverMsg fleetDriverMsg)
+    {
+        startPage();
+        List<FleetDriverMsg> list = fleetDriverMsgService.selectFleetDriverMsgList(fleetDriverMsg);
+        return getDataTable(list);
+    }
+
+    @PreAuthorize("@ss.hasPermi('fleet:driverMsg:list')")
+    @GetMapping("/qurey")
+    public TableDataInfo qurey(FleetDriverMsg fleetDriverMsg)
+    {
+        startPage();
+        List<FleetDriverMsg> list = fleetDriverMsgService.selectFleetDriverMsgList(fleetDriverMsg);
+        return getDataTable(list);
+    }
+
+    /**
+     * 导出【司机】列表
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:driverMsg:export')")
+    @Log(title = "【司机】", businessType = BusinessType.EXPORT)
+    @GetMapping("/export")
+    public AjaxResult export(FleetDriverMsg fleetDriverMsg)
+    {
+        List<FleetDriverMsg> list = fleetDriverMsgService.selectFleetDriverMsgList(fleetDriverMsg);
+        ExcelUtil<FleetDriverMsg> util = new ExcelUtil<FleetDriverMsg>(FleetDriverMsg.class);
+        return util.exportExcel(list, "msg");
+    }
+
+    /**
+     * 获取【司机】详细信息
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:driverMsg:query')")
+    @GetMapping(value = "/{id}")
+    public AjaxResult getInfo(@PathVariable("id") Long id)
+    {
+        return AjaxResult.success(fleetDriverMsgService.selectFleetDriverMsgById(id));
+    }
+
+    /**
+     * 新增【司机】
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:driverMsg:add')")
+    @Log(title = "【司机】", businessType = BusinessType.INSERT)
+    @PostMapping
+    public AjaxResult add(@RequestBody FleetDriverMsg fleetDriverMsg)
+    {
+        fleetDriverMsg.setCreateBy(SecurityUtils.getUsername());
+        return toAjax(fleetDriverMsgService.insertFleetDriverMsg(fleetDriverMsg));
+    }
+
+    /**
+     * 修改【司机】
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:driverMsg:edit')")
+    @Log(title = "【司机】", businessType = BusinessType.UPDATE)
+    @PutMapping
+    public AjaxResult edit(@RequestBody FleetDriverMsg fleetDriverMsg)
+    {
+        fleetDriverMsg.setCreateBy(SecurityUtils.getUsername());
+        return toAjax(fleetDriverMsgService.updateFleetDriverMsg(fleetDriverMsg));
+    }
+
+    /**
+     * 删除【司机】
+     */
+    @PreAuthorize("@ss.hasPermi('fleet:driverMsg:remove')")
+    @Log(title = "【司机】", businessType = BusinessType.DELETE)
+	@DeleteMapping("/{ids}")
+    public AjaxResult remove(@PathVariable Long[] ids)
+    {
+        return toAjax(fleetDriverMsgService.deleteFleetDriverMsgByIds(ids));
+    }
+}

+ 63 - 0
ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/mapper/FleetCarManageMapper.java

@@ -0,0 +1,63 @@
+package com.ruoyi.orderManagement.mapper;
+
+
+import com.ruoyi.orderManagement.domain.FleetCarManage;
+
+import java.util.List;
+
+/**
+ * 【车辆】Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2021-03-04
+ */
+public interface FleetCarManageMapper 
+{
+    /**
+     * 查询【车辆】
+     * 
+     * @param id 【车辆】ID
+     * @return 【车辆】
+     */
+    public FleetCarManage selectFleetCarManageById(Long id);
+
+    /**
+     * 查询【车辆】列表
+     * 
+     * @param fleetCarManage 【车辆】
+     * @return 【车辆】集合
+     */
+    public List<FleetCarManage> selectFleetCarManageList(FleetCarManage fleetCarManage);
+
+    /**
+     * 新增【车辆】
+     * 
+     * @param fleetCarManage 【车辆】
+     * @return 结果
+     */
+    public int insertFleetCarManage(FleetCarManage fleetCarManage);
+
+    /**
+     * 修改【车辆】
+     * 
+     * @param fleetCarManage 【车辆】
+     * @return 结果
+     */
+    public int updateFleetCarManage(FleetCarManage fleetCarManage);
+
+    /**
+     * 删除【车辆】
+     * 
+     * @param id 【车辆】ID
+     * @return 结果
+     */
+    public int deleteFleetCarManageById(Long id);
+
+    /**
+     * 批量删除【车辆】
+     * 
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteFleetCarManageByIds(Long[] ids);
+}

+ 62 - 0
ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/mapper/FleetCompanyMsgMapper.java

@@ -0,0 +1,62 @@
+package com.ruoyi.orderManagement.mapper;
+
+
+import com.ruoyi.orderManagement.domain.FleetCompanyMsg;
+import java.util.List;
+
+/**
+ * 【车队】Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2021-03-04
+ */
+public interface FleetCompanyMsgMapper 
+{
+    /**
+     * 查询【车队】
+     * 
+     * @param id 【车队】ID
+     * @return 【车队】
+     */
+    public FleetCompanyMsg selectFleetCompanyMsgById(Long id);
+
+    /**
+     * 查询【车队】列表
+     * 
+     * @param fleetCompanyMsg 【车队】
+     * @return 【车队】集合
+     */
+    public List<FleetCompanyMsg> selectFleetCompanyMsgList(FleetCompanyMsg fleetCompanyMsg);
+
+    /**
+     * 新增【车队】
+     * 
+     * @param fleetCompanyMsg 【车队】
+     * @return 结果
+     */
+    public int insertFleetCompanyMsg(FleetCompanyMsg fleetCompanyMsg);
+
+    /**
+     * 修改【车队】
+     * 
+     * @param fleetCompanyMsg 【车队】
+     * @return 结果
+     */
+    public int updateFleetCompanyMsg(FleetCompanyMsg fleetCompanyMsg);
+
+    /**
+     * 删除【车队】
+     * 
+     * @param id 【车队】ID
+     * @return 结果
+     */
+    public int deleteFleetCompanyMsgById(Long id);
+
+    /**
+     * 批量删除【车队】
+     * 
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteFleetCompanyMsgByIds(Long[] ids);
+}

+ 63 - 0
ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/mapper/FleetDriverMsgMapper.java

@@ -0,0 +1,63 @@
+package com.ruoyi.orderManagement.mapper;
+
+import java.util.List;
+
+import com.ruoyi.orderManagement.domain.FleetDriverMsg;
+
+
+/**
+ * 【司机】Mapper接口
+ * 
+ * @author ruoyi
+ * @date 2021-03-04
+ */
+public interface FleetDriverMsgMapper 
+{
+    /**
+     * 查询【司机】
+     * 
+     * @param id 【司机】ID
+     * @return 【司机】
+     */
+    public FleetDriverMsg selectFleetDriverMsgById(Long id);
+
+    /**
+     * 查询【司机】列表
+     * 
+     * @param fleetDriverMsg 【司机】
+     * @return 【司机】集合
+     */
+    public List<FleetDriverMsg> selectFleetDriverMsgList(FleetDriverMsg fleetDriverMsg);
+
+    /**
+     * 新增【司机】
+     * 
+     * @param fleetDriverMsg 【司机】
+     * @return 结果
+     */
+    public int insertFleetDriverMsg(FleetDriverMsg fleetDriverMsg);
+
+    /**
+     * 修改【司机】
+     * 
+     * @param fleetDriverMsg 【司机】
+     * @return 结果
+     */
+    public int updateFleetDriverMsg(FleetDriverMsg fleetDriverMsg);
+
+    /**
+     * 删除【司机】
+     * 
+     * @param id 【司机】ID
+     * @return 结果
+     */
+    public int deleteFleetDriverMsgById(Long id);
+
+    /**
+     * 批量删除【司机】
+     * 
+     * @param ids 需要删除的数据ID
+     * @return 结果
+     */
+    public int deleteFleetDriverMsgByIds(Long[] ids);
+}

+ 62 - 0
ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/service/IFleetCarManageService.java

@@ -0,0 +1,62 @@
+package com.ruoyi.orderManagement.service;
+
+import java.util.List;
+
+import com.ruoyi.orderManagement.domain.FleetCarManage;
+
+/**
+ * 【车辆】Service接口
+ * 
+ * @author ruoyi
+ * @date 2021-03-04
+ */
+public interface IFleetCarManageService 
+{
+    /**
+     * 查询【车辆】
+     * 
+     * @param id 【车辆】ID
+     * @return 【车辆】
+     */
+    public FleetCarManage selectFleetCarManageById(Long id);
+
+    /**
+     * 查询【车辆】列表
+     * 
+     * @param fleetCarManage 【车辆】
+     * @return 【车辆】集合
+     */
+    public List<FleetCarManage> selectFleetCarManageList(FleetCarManage fleetCarManage);
+
+    /**
+     * 新增【车辆】
+     * 
+     * @param fleetCarManage 【车辆】
+     * @return 结果
+     */
+    public int insertFleetCarManage(FleetCarManage fleetCarManage);
+
+    /**
+     * 修改【车辆】
+     * 
+     * @param fleetCarManage 【车辆】
+     * @return 结果
+     */
+    public int updateFleetCarManage(FleetCarManage fleetCarManage);
+
+    /**
+     * 批量删除【车辆】
+     * 
+     * @param ids 需要删除的【车辆】ID
+     * @return 结果
+     */
+    public int deleteFleetCarManageByIds(Long[] ids);
+
+    /**
+     * 删除【车辆】信息
+     * 
+     * @param id 【车辆】ID
+     * @return 结果
+     */
+    public int deleteFleetCarManageById(Long id);
+}

+ 63 - 0
ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/service/IFleetCompanyMsgService.java

@@ -0,0 +1,63 @@
+package com.ruoyi.orderManagement.service;
+
+
+import com.ruoyi.orderManagement.domain.FleetCompanyMsg;
+
+import java.util.List;
+
+/**
+ * 【车队】Service接口
+ * 
+ * @author ruoyi
+ * @date 2021-03-04
+ */
+public interface IFleetCompanyMsgService 
+{
+    /**
+     * 查询【车队】
+     * 
+     * @param id 【车队】ID
+     * @return 【车队】
+     */
+    public FleetCompanyMsg selectFleetCompanyMsgById(Long id);
+
+    /**
+     * 查询【车队】列表
+     * 
+     * @param fleetCompanyMsg 【车队】
+     * @return 【车队】集合
+     */
+    public List<FleetCompanyMsg> selectFleetCompanyMsgList(FleetCompanyMsg fleetCompanyMsg);
+
+    /**
+     * 新增【车队】
+     * 
+     * @param fleetCompanyMsg 【车队】
+     * @return 结果
+     */
+    public int insertFleetCompanyMsg(FleetCompanyMsg fleetCompanyMsg);
+
+    /**
+     * 修改【车队】
+     * 
+     * @param fleetCompanyMsg 【车队】
+     * @return 结果
+     */
+    public int updateFleetCompanyMsg(FleetCompanyMsg fleetCompanyMsg);
+
+    /**
+     * 批量删除【车队】
+     * 
+     * @param ids 需要删除的【车队】ID
+     * @return 结果
+     */
+    public int deleteFleetCompanyMsgByIds(Long[] ids);
+
+    /**
+     * 删除【车队】信息
+     * 
+     * @param id 【车队】ID
+     * @return 结果
+     */
+    public int deleteFleetCompanyMsgById(Long id);
+}

+ 62 - 0
ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/service/IFleetDriverMsgService.java

@@ -0,0 +1,62 @@
+package com.ruoyi.orderManagement.service;
+
+import java.util.List;
+
+import com.ruoyi.orderManagement.domain.FleetDriverMsg;
+
+/**
+ * 【司机】Service接口
+ * 
+ * @author ruoyi
+ * @date 2021-03-04
+ */
+public interface IFleetDriverMsgService 
+{
+    /**
+     * 查询【司机】
+     * 
+     * @param id 【司机】ID
+     * @return 【司机】
+     */
+    public FleetDriverMsg selectFleetDriverMsgById(Long id);
+
+    /**
+     * 查询【司机】列表
+     * 
+     * @param fleetDriverMsg 【司机】
+     * @return 【司机】集合
+     */
+    public List<FleetDriverMsg> selectFleetDriverMsgList(FleetDriverMsg fleetDriverMsg);
+
+    /**
+     * 新增【司机】
+     * 
+     * @param fleetDriverMsg 【司机】
+     * @return 结果
+     */
+    public int insertFleetDriverMsg(FleetDriverMsg fleetDriverMsg);
+
+    /**
+     * 修改【司机】
+     * 
+     * @param fleetDriverMsg 【司机】
+     * @return 结果
+     */
+    public int updateFleetDriverMsg(FleetDriverMsg fleetDriverMsg);
+
+    /**
+     * 批量删除【司机】
+     * 
+     * @param ids 需要删除的【司机】ID
+     * @return 结果
+     */
+    public int deleteFleetDriverMsgByIds(Long[] ids);
+
+    /**
+     * 删除【司机】信息
+     * 
+     * @param id 【司机】ID
+     * @return 结果
+     */
+    public int deleteFleetDriverMsgById(Long id);
+}

+ 98 - 0
ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/service/impl/FleetCarManageServiceImpl.java

@@ -0,0 +1,98 @@
+package com.ruoyi.orderManagement.service.impl;
+
+import com.ruoyi.common.utils.DateUtils;
+import com.ruoyi.orderManagement.domain.FleetCarManage;
+import com.ruoyi.orderManagement.mapper.FleetCarManageMapper;
+import com.ruoyi.orderManagement.service.IFleetCarManageService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.Date;
+import java.util.List;
+
+/**
+ * 【车辆】Service业务层处理
+ * 
+ * @author ruoyi
+ * @date 2021-03-04
+ */
+@Service
+public class FleetCarManageServiceImpl implements IFleetCarManageService
+{
+    @Autowired
+    private FleetCarManageMapper fleetCarManageMapper;
+
+    /**
+     * 查询【车辆】
+     * 
+     * @param id 【车辆】ID
+     * @return 【车辆】
+     */
+    @Override
+    public FleetCarManage selectFleetCarManageById(Long id)
+    {
+        return fleetCarManageMapper.selectFleetCarManageById(id);
+    }
+
+    /**
+     * 查询【车辆】列表
+     * 
+     * @param fleetCarManage 【车辆】
+     * @return 【车辆】
+     */
+    @Override
+    public List<FleetCarManage> selectFleetCarManageList(FleetCarManage fleetCarManage)
+    {
+        return fleetCarManageMapper.selectFleetCarManageList(fleetCarManage);
+    }
+
+    /**
+     * 新增【车辆】
+     * 
+     * @param fleetCarManage 【车辆】
+     * @return 结果
+     */
+    @Override
+    public int insertFleetCarManage(FleetCarManage fleetCarManage)
+    {
+        fleetCarManage.setCreatTime(new Date());
+        return fleetCarManageMapper.insertFleetCarManage(fleetCarManage);
+    }
+
+    /**
+     * 修改【车辆】
+     * 
+     * @param fleetCarManage 【车辆】
+     * @return 结果
+     */
+    @Override
+    public int updateFleetCarManage(FleetCarManage fleetCarManage)
+    {
+        fleetCarManage.setUpdateTime(DateUtils.getNowDate());
+        return fleetCarManageMapper.updateFleetCarManage(fleetCarManage);
+    }
+
+    /**
+     * 批量删除【车辆】
+     * 
+     * @param ids 需要删除的【车辆】ID
+     * @return 结果
+     */
+    @Override
+    public int deleteFleetCarManageByIds(Long[] ids)
+    {
+        return fleetCarManageMapper.deleteFleetCarManageByIds(ids);
+    }
+
+    /**
+     * 删除【车辆】信息
+     * 
+     * @param id 【车辆】ID
+     * @return 结果
+     */
+    @Override
+    public int deleteFleetCarManageById(Long id)
+    {
+        return fleetCarManageMapper.deleteFleetCarManageById(id);
+    }
+}

+ 98 - 0
ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/service/impl/FleetCompanyMsgServiceImpl.java

@@ -0,0 +1,98 @@
+package com.ruoyi.orderManagement.service.impl;
+
+
+import com.ruoyi.orderManagement.domain.FleetCompanyMsg;
+import com.ruoyi.orderManagement.mapper.FleetCompanyMsgMapper;
+import com.ruoyi.orderManagement.service.IFleetCompanyMsgService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.Date;
+import java.util.List;
+
+/**
+ * 【车队】Service业务层处理
+ * 
+ * @author ruoyi
+ * @date 2021-03-04
+ */
+@Service
+public class FleetCompanyMsgServiceImpl implements IFleetCompanyMsgService
+{
+    @Autowired
+    private FleetCompanyMsgMapper fleetCompanyMsgMapper;
+
+    /**
+     * 查询【车队】
+     * 
+     * @param id 【车队】ID
+     * @return 【车队】
+     */
+    @Override
+    public FleetCompanyMsg selectFleetCompanyMsgById(Long id)
+    {
+        return fleetCompanyMsgMapper.selectFleetCompanyMsgById(id);
+    }
+
+    /**
+     * 查询【车队】列表
+     * 
+     * @param fleetCompanyMsg 【车队】
+     * @return 【车队】
+     */
+    @Override
+    public List<FleetCompanyMsg> selectFleetCompanyMsgList(FleetCompanyMsg fleetCompanyMsg)
+    {
+        return fleetCompanyMsgMapper.selectFleetCompanyMsgList(fleetCompanyMsg);
+    }
+
+    /**
+     * 新增【车队】
+     * 
+     * @param fleetCompanyMsg 【车队】
+     * @return 结果
+     */
+    @Override
+    public int insertFleetCompanyMsg(FleetCompanyMsg fleetCompanyMsg)
+    {
+        fleetCompanyMsg.setCreatTime(new Date());
+        return fleetCompanyMsgMapper.insertFleetCompanyMsg(fleetCompanyMsg);
+    }
+
+    /**
+     * 修改【车队】
+     * 
+     * @param fleetCompanyMsg 【车队】
+     * @return 结果
+     */
+    @Override
+    public int updateFleetCompanyMsg(FleetCompanyMsg fleetCompanyMsg)
+    {
+        fleetCompanyMsg.setUpdateTime(new Date());
+        return fleetCompanyMsgMapper.updateFleetCompanyMsg(fleetCompanyMsg);
+    }
+
+    /**
+     * 批量删除【车队】
+     * 
+     * @param ids 需要删除的【车队】ID
+     * @return 结果
+     */
+    @Override
+    public int deleteFleetCompanyMsgByIds(Long[] ids)
+    {
+        return fleetCompanyMsgMapper.deleteFleetCompanyMsgByIds(ids);
+    }
+
+    /**
+     * 删除【车队】信息
+     * 
+     * @param id 【车队】ID
+     * @return 结果
+     */
+    @Override
+    public int deleteFleetCompanyMsgById(Long id)
+    {
+        return fleetCompanyMsgMapper.deleteFleetCompanyMsgById(id);
+    }
+}

+ 98 - 0
ruoyi-fleet/src/main/java/com/ruoyi/orderManagement/service/impl/FleetDriverMsgServiceImpl.java

@@ -0,0 +1,98 @@
+package com.ruoyi.orderManagement.service.impl;
+
+import java.util.Date;
+import java.util.List;
+import com.ruoyi.common.utils.DateUtils;
+import com.ruoyi.orderManagement.domain.FleetDriverMsg;
+import com.ruoyi.orderManagement.mapper.FleetDriverMsgMapper;
+import com.ruoyi.orderManagement.service.IFleetDriverMsgService;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+
+/**
+ * 【司机】Service业务层处理
+ * 
+ * @author ruoyi
+ * @date 2021-03-04
+ */
+@Service
+public class FleetDriverMsgServiceImpl implements IFleetDriverMsgService 
+{
+    @Autowired
+    private FleetDriverMsgMapper fleetDriverMsgMapper;
+
+    /**
+     * 查询【司机】
+     * 
+     * @param id 【司机】ID
+     * @return 【司机】
+     */
+    @Override
+    public FleetDriverMsg selectFleetDriverMsgById(Long id)
+    {
+        return fleetDriverMsgMapper.selectFleetDriverMsgById(id);
+    }
+
+    /**
+     * 查询【司机】列表
+     * 
+     * @param fleetDriverMsg 【司机】
+     * @return 【司机】
+     */
+    @Override
+    public List<FleetDriverMsg> selectFleetDriverMsgList(FleetDriverMsg fleetDriverMsg)
+    {
+        return fleetDriverMsgMapper.selectFleetDriverMsgList(fleetDriverMsg);
+    }
+
+    /**
+     * 新增【司机】
+     * 
+     * @param fleetDriverMsg 【司机】
+     * @return 结果
+     */
+    @Override
+    public int insertFleetDriverMsg(FleetDriverMsg fleetDriverMsg)
+    {
+        fleetDriverMsg.setCreatTime(new Date());
+        return fleetDriverMsgMapper.insertFleetDriverMsg(fleetDriverMsg);
+    }
+
+    /**
+     * 修改【司机】
+     * 
+     * @param fleetDriverMsg 【司机】
+     * @return 结果
+     */
+    @Override
+    public int updateFleetDriverMsg(FleetDriverMsg fleetDriverMsg)
+    {
+        fleetDriverMsg.setUpdateTime(DateUtils.getNowDate());
+        return fleetDriverMsgMapper.updateFleetDriverMsg(fleetDriverMsg);
+    }
+
+    /**
+     * 批量删除【司机】
+     * 
+     * @param ids 需要删除的【司机】ID
+     * @return 结果
+     */
+    @Override
+    public int deleteFleetDriverMsgByIds(Long[] ids)
+    {
+        return fleetDriverMsgMapper.deleteFleetDriverMsgByIds(ids);
+    }
+
+    /**
+     * 删除【司机】信息
+     * 
+     * @param id 【司机】ID
+     * @return 结果
+     */
+    @Override
+    public int deleteFleetDriverMsgById(Long id)
+    {
+        return fleetDriverMsgMapper.deleteFleetDriverMsgById(id);
+    }
+}

+ 243 - 0
ruoyi-fleet/src/main/resources/mapper/FleetCarManageMapper.xml

@@ -0,0 +1,243 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.orderManagement.mapper.FleetCarManageMapper">
+    
+    <resultMap type="FleetCarManage" id="FleetCarManageResult">
+        <result property="id"    column="id"    />
+        <result property="fleetCompanyId"    column="fleet_company_id"    />
+        <result property="carNum"    column="car_num"    />
+        <result property="hangNum"    column="hang_num"    />
+        <result property="fuelType"    column="fuel_type"    />
+        <result property="carType"    column="car_type"    />
+        <result property="carName"    column="car_name"    />
+        <result property="carBrand"    column="car_brand"    />
+        <result property="manufactureUnit"    column="manufacture_unit"    />
+        <result property="officeOfCertificate"    column="office_of_certificate"    />
+        <result property="pullCarType"    column="pull_car_type"    />
+        <result property="pullCarShelfNum"    column="pull_car_shelf_num"    />
+        <result property="mountCarType"    column="mount_car_type"    />
+        <result property="mountCarNum"    column="mount_car_num"    />
+        <result property="engine"    column="engine"    />
+        <result property="carLoadPersion"    column="car_load_persion"    />
+        <result property="buyCarDate"    column="buy_car_date"    />
+        <result property="regiestDate"    column="regiest_date"    />
+        <result property="abandonDate"    column="abandon_date"    />
+        <result property="outerSize"    column="outer_size"    />
+        <result property="sumWeight"    column="sum_weight"    />
+        <result property="vouchWeight"    column="vouch_weight"    />
+        <result property="equipWeight"    column="equip_weight"    />
+        <result property="drivingLicenseSrc"    column="driving_license_src"    />
+        <result property="drivingPendantSrc"    column="driving_pendant_src"    />
+        <result property="operationLicenseSrc"    column="operation_license_src"    />
+        <result property="technologySrc"    column="technology_src"    />
+        <result property="drivingLoadSrc"    column="driving_load_src"    />
+        <result property="secondLvMaintainSrc"    column="second_lv_maintain_src"    />
+        <result property="tafficConstranintInsuranceSrc"    column="taffic_constranint_insurance_src"    />
+        <result property="businessInsuranceSrc"    column="business_insurance_src"    />
+        <result property="accpetCarrageInsuranceSrc"    column="accpet_carrage_insurance_src"    />
+        <result property="creatTime"    column="creat_time"    />
+        <result property="modificationTime"    column="modification_time"    />
+        <result property="billStatus"    column="bill_status"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="remarks"    column="remarks"    />
+    </resultMap>
+
+    <sql id="selectFleetCarManageVo">
+        select id, fleet_company_id, car_num, hang_num, fuel_type, car_type, car_name, car_brand, manufacture_unit, office_of_certificate, pull_car_type, pull_car_shelf_num, mount_car_type, mount_car_num, engine, car_load_persion, buy_car_date, regiest_date, abandon_date, outer_size, sum_weight, vouch_weight, equip_weight, driving_license_src, driving_pendant_src, operation_license_src, technology_src, driving_load_src, second_lv_maintain_src, taffic_constranint_insurance_src, business_insurance_src, accpet_carrage_insurance_src, creat_time, modification_time, bill_status, del_flag, create_by, update_by, update_time, remarks from fleet_car_manage
+    </sql>
+
+    <select id="selectFleetCarManageList" parameterType="FleetCarManage" resultMap="FleetCarManageResult">
+        <include refid="selectFleetCarManageVo"/>
+        <where>  
+            <if test="fleetCompanyId != null "> and fleet_company_id = #{fleetCompanyId}</if>
+            <if test="carNum != null  and carNum != ''"> and car_num = #{carNum}</if>
+            <if test="hangNum != null  and hangNum != ''"> and hang_num = #{hangNum}</if>
+            <if test="fuelType != null  and fuelType != ''"> and fuel_type = #{fuelType}</if>
+            <if test="carType != null  and carType != ''"> and car_type = #{carType}</if>
+            <if test="carName != null  and carName != ''"> and car_name like concat('%', #{carName}, '%')</if>
+            <if test="carBrand != null  and carBrand != ''"> and car_brand = #{carBrand}</if>
+            <if test="manufactureUnit != null  and manufactureUnit != ''"> and manufacture_unit = #{manufactureUnit}</if>
+            <if test="officeOfCertificate != null  and officeOfCertificate != ''"> and office_of_certificate = #{officeOfCertificate}</if>
+            <if test="pullCarType != null  and pullCarType != ''"> and pull_car_type = #{pullCarType}</if>
+            <if test="pullCarShelfNum != null  and pullCarShelfNum != ''"> and pull_car_shelf_num = #{pullCarShelfNum}</if>
+            <if test="mountCarType != null  and mountCarType != ''"> and mount_car_type = #{mountCarType}</if>
+            <if test="mountCarNum != null  and mountCarNum != ''"> and mount_car_num = #{mountCarNum}</if>
+            <if test="engine != null  and engine != ''"> and engine = #{engine}</if>
+            <if test="carLoadPersion != null "> and car_load_persion = #{carLoadPersion}</if>
+            <if test="buyCarDate != null "> and buy_car_date = #{buyCarDate}</if>
+            <if test="regiestDate != null "> and regiest_date = #{regiestDate}</if>
+            <if test="abandonDate != null "> and abandon_date = #{abandonDate}</if>
+            <if test="outerSize != null "> and outer_size = #{outerSize}</if>
+            <if test="sumWeight != null "> and sum_weight = #{sumWeight}</if>
+            <if test="vouchWeight != null "> and vouch_weight = #{vouchWeight}</if>
+            <if test="equipWeight != null "> and equip_weight = #{equipWeight}</if>
+            <if test="drivingLicenseSrc != null  and drivingLicenseSrc != ''"> and driving_license_src = #{drivingLicenseSrc}</if>
+            <if test="drivingPendantSrc != null  and drivingPendantSrc != ''"> and driving_pendant_src = #{drivingPendantSrc}</if>
+            <if test="operationLicenseSrc != null  and operationLicenseSrc != ''"> and operation_license_src = #{operationLicenseSrc}</if>
+            <if test="technologySrc != null  and technologySrc != ''"> and technology_src = #{technologySrc}</if>
+            <if test="drivingLoadSrc != null  and drivingLoadSrc != ''"> and driving_load_src = #{drivingLoadSrc}</if>
+            <if test="secondLvMaintainSrc != null  and secondLvMaintainSrc != ''"> and second_lv_maintain_src = #{secondLvMaintainSrc}</if>
+            <if test="tafficConstranintInsuranceSrc != null  and tafficConstranintInsuranceSrc != ''"> and taffic_constranint_insurance_src = #{tafficConstranintInsuranceSrc}</if>
+            <if test="businessInsuranceSrc != null  and businessInsuranceSrc != ''"> and business_insurance_src = #{businessInsuranceSrc}</if>
+            <if test="accpetCarrageInsuranceSrc != null  and accpetCarrageInsuranceSrc != ''"> and accpet_carrage_insurance_src = #{accpetCarrageInsuranceSrc}</if>
+            <if test="creatTime != null "> and creat_time = #{creatTime}</if>
+            <if test="modificationTime != null "> and modification_time = #{modificationTime}</if>
+            <if test="billStatus != null "> and bill_status = #{billStatus}</if>
+            <if test="remarks != null  and remarks != ''"> and remarks = #{remarks}</if>
+        </where>
+    </select>
+    
+    <select id="selectFleetCarManageById" parameterType="Long" resultMap="FleetCarManageResult">
+        <include refid="selectFleetCarManageVo"/>
+        where id = #{id}
+    </select>
+        
+    <insert id="insertFleetCarManage" parameterType="FleetCarManage" useGeneratedKeys="true" keyProperty="id">
+        insert into fleet_car_manage
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="fleetCompanyId != null">fleet_company_id,</if>
+            <if test="carNum != null">car_num,</if>
+            <if test="hangNum != null">hang_num,</if>
+            <if test="fuelType != null">fuel_type,</if>
+            <if test="carType != null">car_type,</if>
+            <if test="carName != null">car_name,</if>
+            <if test="carBrand != null">car_brand,</if>
+            <if test="manufactureUnit != null">manufacture_unit,</if>
+            <if test="officeOfCertificate != null">office_of_certificate,</if>
+            <if test="pullCarType != null">pull_car_type,</if>
+            <if test="pullCarShelfNum != null">pull_car_shelf_num,</if>
+            <if test="mountCarType != null">mount_car_type,</if>
+            <if test="mountCarNum != null">mount_car_num,</if>
+            <if test="engine != null">engine,</if>
+            <if test="carLoadPersion != null">car_load_persion,</if>
+            <if test="buyCarDate != null">buy_car_date,</if>
+            <if test="regiestDate != null">regiest_date,</if>
+            <if test="abandonDate != null">abandon_date,</if>
+            <if test="outerSize != null">outer_size,</if>
+            <if test="sumWeight != null">sum_weight,</if>
+            <if test="vouchWeight != null">vouch_weight,</if>
+            <if test="equipWeight != null">equip_weight,</if>
+            <if test="drivingLicenseSrc != null">driving_license_src,</if>
+            <if test="drivingPendantSrc != null">driving_pendant_src,</if>
+            <if test="operationLicenseSrc != null">operation_license_src,</if>
+            <if test="technologySrc != null">technology_src,</if>
+            <if test="drivingLoadSrc != null">driving_load_src,</if>
+            <if test="secondLvMaintainSrc != null">second_lv_maintain_src,</if>
+            <if test="tafficConstranintInsuranceSrc != null">taffic_constranint_insurance_src,</if>
+            <if test="businessInsuranceSrc != null">business_insurance_src,</if>
+            <if test="accpetCarrageInsuranceSrc != null">accpet_carrage_insurance_src,</if>
+            <if test="creatTime != null">creat_time,</if>
+            <if test="modificationTime != null">modification_time,</if>
+            <if test="billStatus != null">bill_status,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="remarks != null">remarks,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="fleetCompanyId != null">#{fleetCompanyId},</if>
+            <if test="carNum != null">#{carNum},</if>
+            <if test="hangNum != null">#{hangNum},</if>
+            <if test="fuelType != null">#{fuelType},</if>
+            <if test="carType != null">#{carType},</if>
+            <if test="carName != null">#{carName},</if>
+            <if test="carBrand != null">#{carBrand},</if>
+            <if test="manufactureUnit != null">#{manufactureUnit},</if>
+            <if test="officeOfCertificate != null">#{officeOfCertificate},</if>
+            <if test="pullCarType != null">#{pullCarType},</if>
+            <if test="pullCarShelfNum != null">#{pullCarShelfNum},</if>
+            <if test="mountCarType != null">#{mountCarType},</if>
+            <if test="mountCarNum != null">#{mountCarNum},</if>
+            <if test="engine != null">#{engine},</if>
+            <if test="carLoadPersion != null">#{carLoadPersion},</if>
+            <if test="buyCarDate != null">#{buyCarDate},</if>
+            <if test="regiestDate != null">#{regiestDate},</if>
+            <if test="abandonDate != null">#{abandonDate},</if>
+            <if test="outerSize != null">#{outerSize},</if>
+            <if test="sumWeight != null">#{sumWeight},</if>
+            <if test="vouchWeight != null">#{vouchWeight},</if>
+            <if test="equipWeight != null">#{equipWeight},</if>
+            <if test="drivingLicenseSrc != null">#{drivingLicenseSrc},</if>
+            <if test="drivingPendantSrc != null">#{drivingPendantSrc},</if>
+            <if test="operationLicenseSrc != null">#{operationLicenseSrc},</if>
+            <if test="technologySrc != null">#{technologySrc},</if>
+            <if test="drivingLoadSrc != null">#{drivingLoadSrc},</if>
+            <if test="secondLvMaintainSrc != null">#{secondLvMaintainSrc},</if>
+            <if test="tafficConstranintInsuranceSrc != null">#{tafficConstranintInsuranceSrc},</if>
+            <if test="businessInsuranceSrc != null">#{businessInsuranceSrc},</if>
+            <if test="accpetCarrageInsuranceSrc != null">#{accpetCarrageInsuranceSrc},</if>
+            <if test="creatTime != null">#{creatTime},</if>
+            <if test="modificationTime != null">#{modificationTime},</if>
+            <if test="billStatus != null">#{billStatus},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="remarks != null">#{remarks},</if>
+         </trim>
+    </insert>
+
+    <update id="updateFleetCarManage" parameterType="FleetCarManage">
+        update fleet_car_manage
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="fleetCompanyId != null">fleet_company_id = #{fleetCompanyId},</if>
+            <if test="carNum != null">car_num = #{carNum},</if>
+            <if test="hangNum != null">hang_num = #{hangNum},</if>
+            <if test="fuelType != null">fuel_type = #{fuelType},</if>
+            <if test="carType != null">car_type = #{carType},</if>
+            <if test="carName != null">car_name = #{carName},</if>
+            <if test="carBrand != null">car_brand = #{carBrand},</if>
+            <if test="manufactureUnit != null">manufacture_unit = #{manufactureUnit},</if>
+            <if test="officeOfCertificate != null">office_of_certificate = #{officeOfCertificate},</if>
+            <if test="pullCarType != null">pull_car_type = #{pullCarType},</if>
+            <if test="pullCarShelfNum != null">pull_car_shelf_num = #{pullCarShelfNum},</if>
+            <if test="mountCarType != null">mount_car_type = #{mountCarType},</if>
+            <if test="mountCarNum != null">mount_car_num = #{mountCarNum},</if>
+            <if test="engine != null">engine = #{engine},</if>
+            <if test="carLoadPersion != null">car_load_persion = #{carLoadPersion},</if>
+            <if test="buyCarDate != null">buy_car_date = #{buyCarDate},</if>
+            <if test="regiestDate != null">regiest_date = #{regiestDate},</if>
+            <if test="abandonDate != null">abandon_date = #{abandonDate},</if>
+            <if test="outerSize != null">outer_size = #{outerSize},</if>
+            <if test="sumWeight != null">sum_weight = #{sumWeight},</if>
+            <if test="vouchWeight != null">vouch_weight = #{vouchWeight},</if>
+            <if test="equipWeight != null">equip_weight = #{equipWeight},</if>
+            <if test="drivingLicenseSrc != null">driving_license_src = #{drivingLicenseSrc},</if>
+            <if test="drivingPendantSrc != null">driving_pendant_src = #{drivingPendantSrc},</if>
+            <if test="operationLicenseSrc != null">operation_license_src = #{operationLicenseSrc},</if>
+            <if test="technologySrc != null">technology_src = #{technologySrc},</if>
+            <if test="drivingLoadSrc != null">driving_load_src = #{drivingLoadSrc},</if>
+            <if test="secondLvMaintainSrc != null">second_lv_maintain_src = #{secondLvMaintainSrc},</if>
+            <if test="tafficConstranintInsuranceSrc != null">taffic_constranint_insurance_src = #{tafficConstranintInsuranceSrc},</if>
+            <if test="businessInsuranceSrc != null">business_insurance_src = #{businessInsuranceSrc},</if>
+            <if test="accpetCarrageInsuranceSrc != null">accpet_carrage_insurance_src = #{accpetCarrageInsuranceSrc},</if>
+            <if test="creatTime != null">creat_time = #{creatTime},</if>
+            <if test="modificationTime != null">modification_time = #{modificationTime},</if>
+            <if test="billStatus != null">bill_status = #{billStatus},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remarks != null">remarks = #{remarks},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteFleetCarManageById" parameterType="Long">
+        delete from fleet_car_manage where id = #{id}
+    </delete>
+
+    <delete id="deleteFleetCarManageByIds" parameterType="String">
+        delete from fleet_car_manage where id in 
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+    
+</mapper>

+ 230 - 0
ruoyi-fleet/src/main/resources/mapper/FleetCompanyMsgMapper.xml

@@ -0,0 +1,230 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.orderManagement.mapper.FleetCompanyMsgMapper">
+    
+    <resultMap type="FleetCompanyMsg" id="FleetCompanyMsgResult">
+        <result property="id"    column="id"    />
+        <result property="companyName"    column="company_name"    />
+        <result property="loginAccount"    column="login_account"    />
+        <result property="companyAddress"    column="company_address"    />
+        <result property="openingBank"    column="opening_bank"    />
+        <result property="bankAccount"    column="bank_account"    />
+        <result property="creditLv"    column="credit_lv"    />
+        <result property="paymentDays"    column="payment_days"    />
+        <result property="carNum"    column="car_num"    />
+        <result property="linkMan"    column="link_man"    />
+        <result property="linkPhone"    column="link_phone"    />
+        <result property="fax"    column="fax"    />
+        <result property="email"    column="email"    />
+        <result property="headOffice"    column="head_office"    />
+        <result property="registerdCapital"    column="registerd_capital"    />
+        <result property="legalPerson"    column="legal_person"    />
+        <result property="insdustry"    column="insdustry"    />
+        <result property="creditNum"    column="credit_num"    />
+        <result property="taxpayerNum"    column="taxpayer_num"    />
+        <result property="industryCommerceNum"    column="industry_commerce_num"    />
+        <result property="organizationNum"    column="organization_num"    />
+        <result property="registerOrganization"    column="register_organization"    />
+        <result property="dateOfEstablishment"    column="date_of_establishment"    />
+        <result property="companyType"    column="company_type"    />
+        <result property="businessDeadline"    column="business_deadline"    />
+        <result property="businessArea"    column="business_area"    />
+        <result property="annualDate"    column="annual_date"    />
+        <result property="registerdAddress"    column="registerd_address"    />
+        <result property="manageScope"    column="manage_scope"    />
+        <result property="creatTime"    column="creat_time"    />
+        <result property="modificationTime"    column="modification_time"    />
+        <result property="billStatus"    column="bill_status"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="remark"    column="remark"    />
+    </resultMap>
+
+    <sql id="selectFleetCompanyMsgVo">
+        select id, company_name, login_account, company_address, opening_bank, bank_account, credit_lv, payment_days, car_num, link_man, link_phone, fax, email, head_office, registerd_capital, legal_person,
+               insdustry, credit_num, taxpayer_num, industry_commerce_num, organization_num, register_organization, date_of_establishment, company_type,
+               business_deadline, business_area, annual_date, registerd_address, manage_scope, creat_time, modification_time , bill_status, del_flag, create_by, update_by, update_time, remark
+        from fleet_company_msg
+    </sql>
+
+    <select id="selectFleetCompanyMsgList" parameterType="FleetCompanyMsg" resultMap="FleetCompanyMsgResult">
+        <include refid="selectFleetCompanyMsgVo"/>
+        <where>  
+            <if test="companyName != null  and companyName != ''"> and company_name like concat('%', #{companyName}, '%')</if>
+            <if test="loginAccount != null  and loginAccount != ''"> and login_account = #{loginAccount}</if>
+            <if test="companyAddress != null  and companyAddress != ''"> and company_address = #{companyAddress}</if>
+            <if test="openingBank != null  and openingBank != ''"> and opening_bank = #{openingBank}</if>
+            <if test="bankAccount != null  and bankAccount != ''"> and bank_account = #{bankAccount}</if>
+            <if test="creditLv != null  and creditLv != ''"> and credit_lv = #{creditLv}</if>
+            <if test="paymentDays != null "> and payment_days = #{paymentDays}</if>
+            <if test="carNum != null "> and car_num = #{carNum}</if>
+            <if test="linkMan != null  and linkMan != ''"> and link_man = #{linkMan}</if>
+            <if test="linkPhone != null  and linkPhone != ''"> and link_phone = #{linkPhone}</if>
+            <if test="fax != null  and fax != ''"> and fax = #{fax}</if>
+            <if test="email != null  and email != ''"> and email = #{email}</if>
+            <if test="headOffice != null  and headOffice != ''"> and head_office = #{headOffice}</if>
+            <if test="registerdCapital != null  and registerdCapital != ''"> and registerd_capital = #{registerdCapital}</if>
+            <if test="legalPerson != null  and legalPerson != ''"> and legal_person = #{legalPerson}</if>
+            <if test="insdustry != null  and insdustry != ''"> and insdustry = #{insdustry}</if>
+            <if test="creditNum != null  and creditNum != ''"> and credit_num = #{creditNum}</if>
+            <if test="taxpayerNum != null  and taxpayerNum != ''"> and taxpayer_num = #{taxpayerNum}</if>
+            <if test="industryCommerceNum != null  and industryCommerceNum != ''"> and industry_commerce_num = #{industryCommerceNum}</if>
+            <if test="organizationNum != null  and organizationNum != ''"> and organization_num = #{organizationNum}</if>
+            <if test="registerOrganization != null  and registerOrganization != ''"> and register_organization = #{registerOrganization}</if>
+            <if test="dateOfEstablishment != null "> and date_of_establishment = #{dateOfEstablishment}</if>
+            <if test="companyType != null  and companyType != ''"> and company_type = #{companyType}</if>
+            <if test="businessDeadline != null "> and business_deadline = #{businessDeadline}</if>
+            <if test="businessArea != null  and businessArea != ''"> and business_area = #{businessArea}</if>
+            <if test="annualDate != null "> and annual_date = #{annualDate}</if>
+            <if test="registerdAddress != null  and registerdAddress != ''"> and registerd_address = #{registerdAddress}</if>
+            <if test="manageScope != null  and manageScope != ''"> and manage_scope = #{manageScope}</if>
+            <if test="creatTime != null "> and creat_time = #{creatTime}</if>
+            <if test="modificationTime != null "> and modification_time = #{modificationTime}</if>
+            <if test="billStatus != null "> and bill_status = #{billStatus}</if>
+        </where>
+    </select>
+    
+    <select id="selectFleetCompanyMsgById" parameterType="Long" resultMap="FleetCompanyMsgResult">
+        <include refid="selectFleetCompanyMsgVo"/>
+        where id = #{id}
+    </select>
+        
+    <insert id="insertFleetCompanyMsg" parameterType="FleetCompanyMsg" useGeneratedKeys="true" keyProperty="id">
+        insert into fleet_company_msg
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="companyName != null">company_name,</if>
+            <if test="loginAccount != null and loginAccount != ''">login_account,</if>
+            <if test="companyAddress != null">company_address,</if>
+            <if test="openingBank != null">opening_bank,</if>
+            <if test="bankAccount != null">bank_account,</if>
+            <if test="creditLv != null">credit_lv,</if>
+            <if test="paymentDays != null">payment_days,</if>
+            <if test="carNum != null">car_num,</if>
+            <if test="linkMan != null">link_man,</if>
+            <if test="linkPhone != null">link_phone,</if>
+            <if test="fax != null">fax,</if>
+            <if test="email != null">email,</if>
+            <if test="headOffice != null">head_office,</if>
+            <if test="registerdCapital != null">registerd_capital,</if>
+            <if test="legalPerson != null">legal_person,</if>
+            <if test="insdustry != null">insdustry,</if>
+            <if test="creditNum != null">credit_num,</if>
+            <if test="taxpayerNum != null">taxpayer_num,</if>
+            <if test="industryCommerceNum != null">industry_commerce_num,</if>
+            <if test="organizationNum != null">organization_num,</if>
+            <if test="registerOrganization != null">register_organization,</if>
+            <if test="dateOfEstablishment != null">date_of_establishment,</if>
+            <if test="companyType != null">company_type,</if>
+            <if test="businessDeadline != null">business_deadline,</if>
+            <if test="businessArea != null">business_area,</if>
+            <if test="annualDate != null">annual_date,</if>
+            <if test="registerdAddress != null">registerd_address,</if>
+            <if test="manageScope != null">manage_scope,</if>
+            <if test="creatTime != null">creat_time,</if>
+            <if test="modificationTime != null">modification_time,</if>
+            <if test="billStatus != null">bill_status,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="remark != null">remark,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="companyName != null">#{companyName},</if>
+            <if test="loginAccount != null and loginAccount != ''">#{loginAccount},</if>
+            <if test="companyAddress != null">#{companyAddress},</if>
+            <if test="openingBank != null">#{openingBank},</if>
+            <if test="bankAccount != null">#{bankAccount},</if>
+            <if test="creditLv != null">#{creditLv},</if>
+            <if test="paymentDays != null">#{paymentDays},</if>
+            <if test="carNum != null">#{carNum},</if>
+            <if test="linkMan != null">#{linkMan},</if>
+            <if test="linkPhone != null">#{linkPhone},</if>
+            <if test="fax != null">#{fax},</if>
+            <if test="email != null">#{email},</if>
+            <if test="headOffice != null">#{headOffice},</if>
+            <if test="registerdCapital != null">#{registerdCapital},</if>
+            <if test="legalPerson != null">#{legalPerson},</if>
+            <if test="insdustry != null">#{insdustry},</if>
+            <if test="creditNum != null">#{creditNum},</if>
+            <if test="taxpayerNum != null">#{taxpayerNum},</if>
+            <if test="industryCommerceNum != null">#{industryCommerceNum},</if>
+            <if test="organizationNum != null">#{organizationNum},</if>
+            <if test="registerOrganization != null">#{registerOrganization},</if>
+            <if test="dateOfEstablishment != null">#{dateOfEstablishment},</if>
+            <if test="companyType != null">#{companyType},</if>
+            <if test="businessDeadline != null">#{businessDeadline},</if>
+            <if test="businessArea != null">#{businessArea},</if>
+            <if test="annualDate != null">#{annualDate},</if>
+            <if test="registerdAddress != null">#{registerdAddress},</if>
+            <if test="manageScope != null">#{manageScope},</if>
+            <if test="creatTime != null">#{creatTime},</if>
+            <if test="modificationTime != null">#{modificationTime},</if>
+            <if test="billStatus != null">#{billStatus},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="remark != null">#{remark},</if>
+         </trim>
+    </insert>
+
+    <update id="updateFleetCompanyMsg" parameterType="FleetCompanyMsg">
+        update fleet_company_msg
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="companyName != null">company_name = #{companyName},</if>
+            <if test="loginAccount != null and loginAccount != ''">login_account = #{loginAccount},</if>
+            <if test="companyAddress != null">company_address = #{companyAddress},</if>
+            <if test="openingBank != null">opening_bank = #{openingBank},</if>
+            <if test="bankAccount != null">bank_account = #{bankAccount},</if>
+            <if test="creditLv != null">credit_lv = #{creditLv},</if>
+            <if test="paymentDays != null">payment_days = #{paymentDays},</if>
+            <if test="carNum != null">car_num = #{carNum},</if>
+            <if test="linkMan != null">link_man = #{linkMan},</if>
+            <if test="linkPhone != null">link_phone = #{linkPhone},</if>
+            <if test="fax != null">fax = #{fax},</if>
+            <if test="email != null">email = #{email},</if>
+            <if test="headOffice != null">head_office = #{headOffice},</if>
+            <if test="registerdCapital != null">registerd_capital = #{registerdCapital},</if>
+            <if test="legalPerson != null">legal_person = #{legalPerson},</if>
+            <if test="insdustry != null">insdustry = #{insdustry},</if>
+            <if test="creditNum != null">credit_num = #{creditNum},</if>
+            <if test="taxpayerNum != null">taxpayer_num = #{taxpayerNum},</if>
+            <if test="industryCommerceNum != null">industry_commerce_num = #{industryCommerceNum},</if>
+            <if test="organizationNum != null">organization_num = #{organizationNum},</if>
+            <if test="registerOrganization != null">register_organization = #{registerOrganization},</if>
+            <if test="dateOfEstablishment != null">date_of_establishment = #{dateOfEstablishment},</if>
+            <if test="companyType != null">company_type = #{companyType},</if>
+            <if test="businessDeadline != null">business_deadline = #{businessDeadline},</if>
+            <if test="businessArea != null">business_area = #{businessArea},</if>
+            <if test="annualDate != null">annual_date = #{annualDate},</if>
+            <if test="registerdAddress != null">registerd_address = #{registerdAddress},</if>
+            <if test="manageScope != null">manage_scope = #{manageScope},</if>
+            <if test="creatTime != null">creat_time = #{creatTime},</if>
+            <if test="modificationTime != null">modification_time = #{modificationTime},</if>
+            <if test="billStatus != null">bill_status = #{billStatus},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remark != null">remark = #{remark},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteFleetCompanyMsgById" parameterType="Long">
+        delete from fleet_company_msg where id = #{id}
+    </delete>
+
+    <delete id="deleteFleetCompanyMsgByIds" parameterType="String">
+        delete from fleet_company_msg where id in 
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+    
+</mapper>

+ 143 - 0
ruoyi-fleet/src/main/resources/mapper/FleetDriverMsgMapper.xml

@@ -0,0 +1,143 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!DOCTYPE mapper
+PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
+<mapper namespace="com.ruoyi.orderManagement.mapper.FleetDriverMsgMapper">
+    
+    <resultMap type="FleetDriverMsg" id="FleetDriverMsgResult">
+        <result property="id"    column="id"    />
+        <result property="fleetCompanyId"    column="fleet_company_id"    />
+        <result property="name"    column="name"    />
+        <result property="sex"    column="sex"    />
+        <result property="birthday"    column="birthday"    />
+        <result property="allowDriverCar"    column="allow_driver_car"    />
+        <result property="firstCertificateDate"    column="first_certificate_date"    />
+        <result property="idcarNum"    column="idcar_num"    />
+        <result property="tel"    column="tel"    />
+        <result property="address"    column="address"    />
+        <result property="resumePic"    column="resume_pic"    />
+        <result property="drivingPic"    column="driving_pic"    />
+        <result property="creatTime"    column="creat_time"    />
+        <result property="modificationTime"    column="modification_time"    />
+        <result property="billStatus"    column="bill_status"    />
+        <result property="delFlag"    column="del_flag"    />
+        <result property="createBy"    column="create_by"    />
+        <result property="updateBy"    column="update_by"    />
+        <result property="updateTime"    column="update_time"    />
+        <result property="remarks"    column="remarks"    />
+    </resultMap>
+
+    <sql id="selectFleetDriverMsgVo">
+        select id, fleet_company_id, name, sex, birthday, allow_driver_car, first_certificate_date, idcar_num, tel, address, resume_pic, driving_pic, creat_time, modification_time, bill_status, del_flag, create_by, update_by, update_time, remarks from fleet_driver_msg
+    </sql>
+
+    <select id="selectFleetDriverMsgList" parameterType="FleetDriverMsg" resultMap="FleetDriverMsgResult">
+        <include refid="selectFleetDriverMsgVo"/>
+        <where>  
+            <if test="fleetCompanyId != null "> and fleet_company_id = #{fleetCompanyId}</if>
+            <if test="name != null  and name != ''"> and name like concat('%', #{name}, '%')</if>
+            <if test="sex != null "> and sex = #{sex}</if>
+            <if test="birthday != null "> and birthday = #{birthday}</if>
+            <if test="allowDriverCar != null  and allowDriverCar != ''"> and allow_driver_car = #{allowDriverCar}</if>
+            <if test="firstCertificateDate != null "> and first_certificate_date = #{firstCertificateDate}</if>
+            <if test="idcarNum != null  and idcarNum != ''"> and idcar_num = #{idcarNum}</if>
+            <if test="tel != null  and tel != ''"> and tel = #{tel}</if>
+            <if test="address != null  and address != ''"> and address = #{address}</if>
+            <if test="resumePic != null  and resumePic != ''"> and resume_pic = #{resumePic}</if>
+            <if test="drivingPic != null  and drivingPic != ''"> and driving_pic = #{drivingPic}</if>
+            <if test="creatTime != null "> and creat_time = #{creatTime}</if>
+            <if test="modificationTime != null "> and modification_time = #{modificationTime}</if>
+            <if test="billStatus != null "> and bill_status = #{billStatus}</if>
+            <if test="remarks != null  and remarks != ''"> and remarks = #{remarks}</if>
+        </where>
+    </select>
+    
+    <select id="selectFleetDriverMsgById" parameterType="Long" resultMap="FleetDriverMsgResult">
+        <include refid="selectFleetDriverMsgVo"/>
+        where id = #{id}
+    </select>
+        
+    <insert id="insertFleetDriverMsg" parameterType="FleetDriverMsg" useGeneratedKeys="true" keyProperty="id">
+        insert into fleet_driver_msg
+        <trim prefix="(" suffix=")" suffixOverrides=",">
+            <if test="fleetCompanyId != null">fleet_company_id,</if>
+            <if test="name != null">name,</if>
+            <if test="sex != null">sex,</if>
+            <if test="birthday != null">birthday,</if>
+            <if test="allowDriverCar != null">allow_driver_car,</if>
+            <if test="firstCertificateDate != null">first_certificate_date,</if>
+            <if test="idcarNum != null">idcar_num,</if>
+            <if test="tel != null">tel,</if>
+            <if test="address != null">address,</if>
+            <if test="resumePic != null">resume_pic,</if>
+            <if test="drivingPic != null">driving_pic,</if>
+            <if test="creatTime != null">creat_time,</if>
+            <if test="modificationTime != null">modification_time,</if>
+            <if test="billStatus != null">bill_status,</if>
+            <if test="delFlag != null">del_flag,</if>
+            <if test="createBy != null">create_by,</if>
+            <if test="updateBy != null">update_by,</if>
+            <if test="updateTime != null">update_time,</if>
+            <if test="remarks != null">remarks,</if>
+         </trim>
+        <trim prefix="values (" suffix=")" suffixOverrides=",">
+            <if test="fleetCompanyId != null">#{fleetCompanyId},</if>
+            <if test="name != null">#{name},</if>
+            <if test="sex != null">#{sex},</if>
+            <if test="birthday != null">#{birthday},</if>
+            <if test="allowDriverCar != null">#{allowDriverCar},</if>
+            <if test="firstCertificateDate != null">#{firstCertificateDate},</if>
+            <if test="idcarNum != null">#{idcarNum},</if>
+            <if test="tel != null">#{tel},</if>
+            <if test="address != null">#{address},</if>
+            <if test="resumePic != null">#{resumePic},</if>
+            <if test="drivingPic != null">#{drivingPic},</if>
+            <if test="creatTime != null">#{creatTime},</if>
+            <if test="modificationTime != null">#{modificationTime},</if>
+            <if test="billStatus != null">#{billStatus},</if>
+            <if test="delFlag != null">#{delFlag},</if>
+            <if test="createBy != null">#{createBy},</if>
+            <if test="updateBy != null">#{updateBy},</if>
+            <if test="updateTime != null">#{updateTime},</if>
+            <if test="remarks != null">#{remarks},</if>
+         </trim>
+    </insert>
+
+    <update id="updateFleetDriverMsg" parameterType="FleetDriverMsg">
+        update fleet_driver_msg
+        <trim prefix="SET" suffixOverrides=",">
+            <if test="fleetCompanyId != null">fleet_company_id = #{fleetCompanyId},</if>
+            <if test="name != null">name = #{name},</if>
+            <if test="sex != null">sex = #{sex},</if>
+            <if test="birthday != null">birthday = #{birthday},</if>
+            <if test="allowDriverCar != null">allow_driver_car = #{allowDriverCar},</if>
+            <if test="firstCertificateDate != null">first_certificate_date = #{firstCertificateDate},</if>
+            <if test="idcarNum != null">idcar_num = #{idcarNum},</if>
+            <if test="tel != null">tel = #{tel},</if>
+            <if test="address != null">address = #{address},</if>
+            <if test="resumePic != null">resume_pic = #{resumePic},</if>
+            <if test="drivingPic != null">driving_pic = #{drivingPic},</if>
+            <if test="creatTime != null">creat_time = #{creatTime},</if>
+            <if test="modificationTime != null">modification_time = #{modificationTime},</if>
+            <if test="billStatus != null">bill_status = #{billStatus},</if>
+            <if test="delFlag != null">del_flag = #{delFlag},</if>
+            <if test="createBy != null">create_by = #{createBy},</if>
+            <if test="updateBy != null">update_by = #{updateBy},</if>
+            <if test="updateTime != null">update_time = #{updateTime},</if>
+            <if test="remarks != null">remarks = #{remarks},</if>
+        </trim>
+        where id = #{id}
+    </update>
+
+    <delete id="deleteFleetDriverMsgById" parameterType="Long">
+        delete from fleet_driver_msg where id = #{id}
+    </delete>
+
+    <delete id="deleteFleetDriverMsgByIds" parameterType="String">
+        delete from fleet_driver_msg where id in 
+        <foreach item="id" collection="array" open="(" separator="," close=")">
+            #{id}
+        </foreach>
+    </delete>
+    
+</mapper>