|
|
|
@ -11,23 +11,22 @@ import com.thing.common.core.exception.SysException; |
|
|
|
import com.thing.common.core.utils.excel.ExcelUtils; |
|
|
|
import com.thing.common.core.web.response.PageData; |
|
|
|
import com.thing.common.orm.service.impl.BaseServiceImpl; |
|
|
|
import com.thing.extend.entity.TransportExtendCalculationEntity; |
|
|
|
import com.thing.extend.mapper.TransportExtendMapper; |
|
|
|
import com.thing.extend.mapper.TransportExtendMsgMapper; |
|
|
|
import com.thing.extend.dto.TransportExtendMsgDTO; |
|
|
|
import com.thing.extend.entity.TransportExtendCalculationEntity; |
|
|
|
import com.thing.extend.entity.TransportExtendEntity; |
|
|
|
import com.thing.extend.entity.TransportExtendMsgEntity; |
|
|
|
import com.thing.extend.excel.TransportExtendMsgExcel; |
|
|
|
import com.thing.extend.mapper.TransportExtendMapper; |
|
|
|
import com.thing.extend.mapper.TransportExtendMsgMapper; |
|
|
|
import com.thing.extend.service.TransportExtendCalculationService; |
|
|
|
import com.thing.extend.service.TransportExtendMsgService; |
|
|
|
import com.thing.extension.ExtensionType; |
|
|
|
import lombok.RequiredArgsConstructor; |
|
|
|
import jakarta.annotation.Resource; |
|
|
|
import jakarta.servlet.http.HttpServletResponse; |
|
|
|
import org.apache.commons.collections4.MapUtils; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.stereotype.Service; |
|
|
|
import org.springframework.transaction.annotation.Transactional; |
|
|
|
import jakarta.servlet.http.HttpServletResponse; |
|
|
|
|
|
|
|
import java.util.Comparator; |
|
|
|
import java.util.List; |
|
|
|
@ -42,12 +41,13 @@ import java.util.stream.Collectors; |
|
|
|
* @since 3.0 2022-12-05 |
|
|
|
*/ |
|
|
|
@Service |
|
|
|
@RequiredArgsConstructor |
|
|
|
public class TransportExtendMsgServiceImpl extends BaseServiceImpl<TransportExtendMsgMapper, TransportExtendMsgEntity> implements TransportExtendMsgService { |
|
|
|
|
|
|
|
private final TransportExtendMapper transportExtendDao; |
|
|
|
@Resource |
|
|
|
private TransportExtendMapper transportExtendDao; |
|
|
|
|
|
|
|
private final TransportExtendCalculationService transportExtendCalculationService; |
|
|
|
@Resource |
|
|
|
private TransportExtendCalculationService transportExtendCalculationService; |
|
|
|
|
|
|
|
@Override |
|
|
|
public QueryWrapper getWrapper(Map<String, Object> params) { |
|
|
|
|