| | |
| | | |
| | | import com.ruoyi.common.core.domain.entity.SysDept; |
| | | import com.ruoyi.common.core.domain.entity.SysUser; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import com.ruoyi.common.utils.LongUtil; |
| | | import com.ruoyi.common.utils.MapValueUtils; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.common.utils.*; |
| | | import com.ruoyi.system.domain.SysTaskEmergency; |
| | | import com.ruoyi.system.domain.VehicleInfo; |
| | | import com.ruoyi.system.domain.enums.TaskStatus; |
| | |
| | | createTaskVo.setTaskTypeId(serviceOrdType); |
| | | } |
| | | |
| | | // 设置区域类型 |
| | | String serviceOrdAreaType = MapValueUtils.getStringValue(order, "ServiceOrdAreaType"); |
| | | |
| | | |
| | | String serviceOrdVIP = MapValueUtils.getStringValue(order, "ServiceOrdVIP"); |
| | | if(serviceOrdVIP!=null){ |
| | | createTaskVo.setServiceOrdVIP(serviceOrdVIP); |
| | | }else{ |
| | | createTaskVo.setServiceOrdVIP("0"); |
| | | } |
| | | |
| | | Integer FromHQ2_is = MapValueUtils.getIntegerValue(order, "FromHQ2_is"); |
| | | if(IntegerUtil.isNotEmpty(FromHQ2_is)){ |
| | | createTaskVo.setFromHQ2_is("1"); |
| | | }else{ |
| | | createTaskVo.setFromHQ2_is("0"); |
| | | } |
| | | |
| | | // 设置用户ID |
| | | Long serviceOrdUserID = MapValueUtils.getLongValue(order, "ServiceOrdUserID"); |