|
|
|
@ -34,6 +34,7 @@ import com.logpm.basicdata.vo.BasicdataDriverWarehouseVO;
|
|
|
|
|
import io.swagger.annotations.Api; |
|
|
|
|
import io.swagger.annotations.ApiOperation; |
|
|
|
|
import io.swagger.annotations.ApiParam; |
|
|
|
|
import jodd.util.ArraysUtil; |
|
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
import org.springblade.core.boot.ctrl.BladeController; |
|
|
|
@ -54,10 +55,7 @@ import springfox.documentation.annotations.ApiIgnore;
|
|
|
|
|
|
|
|
|
|
import javax.servlet.http.HttpServletResponse; |
|
|
|
|
import javax.validation.Valid; |
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.Date; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.Map; |
|
|
|
|
import java.util.*; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 司机信息表 控制器 |
|
|
|
@ -95,6 +93,11 @@ public class BasicdataDriverArteryController extends BladeController {
|
|
|
|
|
List<BasicdataDriverWarehouseVO> warehouseIds = basicdataDriverWarehouseService.findByDriverId(driverId); |
|
|
|
|
BasicdataDriverArteryVO basicdataDriverArteryVO = new BasicdataDriverArteryVO(); |
|
|
|
|
BeanUtil.copy(detail,basicdataDriverArteryVO); |
|
|
|
|
|
|
|
|
|
// 拆分 司机类型
|
|
|
|
|
String[] split = basicdataDriverArteryVO.getJobType().split(","); |
|
|
|
|
List<String> list = Arrays.asList(split); |
|
|
|
|
basicdataDriverArteryVO.setJobTypeString(list); |
|
|
|
|
basicdataDriverArteryVO.setWarehouses(warehouseIds); |
|
|
|
|
basicdataDriverArteryVO.setBindVehicles(String.join(",",vehicleIds)); |
|
|
|
|
return R.data(basicdataDriverArteryVO); |
|
|
|
|