package com.kytms.transportorder.service.Impl;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.alibaba.fastjson.serializer.SerializerFeature;
import com.kytms.ServerZone.dao.ServerZoneDao;
import com.kytms.carrier.dao.CarrierDao;
import com.kytms.carrier.dao.impl.CarrierDaoImpl;
import com.kytms.core.constants.Entity;
import com.kytms.core.constants.Symbol;
import com.kytms.core.entity.*;
import com.kytms.core.exception.MessageException;
import com.kytms.core.model.CommModel;
import com.kytms.core.model.JgGridListModel;
import com.kytms.core.service.impl.BaseServiceImpl;
import com.kytms.core.utils.*;
import com.kytms.customerFile.dao.CustomerDao;
import com.kytms.customerFile.dao.impl.CustomerDaoimpl;
import com.kytms.feeTypeContrast.dao.FeeTypeContrastDao;
import com.kytms.feetype.dao.FeeTypeDao;
import com.kytms.feetype.dao.impl.FeeTypeDaoImpl;
import com.kytms.inOrOutRecord.dao.InOrOutRecordDao;
import com.kytms.ledgerdetails.dao.LedgerDetailDao;
import com.kytms.ledgerdetails.dao.impl.LedgerDetailDaoImpl;
import com.kytms.orderabnormal.dao.AbnormalDao;
import com.kytms.orderabnormal.dao.AbnormalDetailDao;
import com.kytms.orderabnormal.service.AbnormalService;
import com.kytms.orderback.dao.OrderBackDao;
import com.kytms.organization.dao.OrgDao;
import com.kytms.presco.dao.PrescoProductDao;
import com.kytms.receivingparty.dao.impl.ReceivingPartyDaoImpl;
import com.kytms.shipment.dao.BerthStandDao;
import com.kytms.shipment.dao.Impl.BerthStandDaoImpl;
import com.kytms.shipment.dao.Impl.ShipmentDaoImpl;
import com.kytms.shipment.dao.ShipmentDao;
import com.kytms.shipment.service.Impl.ShipmentServiceImpl;
import com.kytms.shipment.service.ShipmentService;
import com.kytms.shipmentTemplate.dao.impl.TemplateDaoImpl;
import com.kytms.single.service.impl.SingleServiceImpl;
import com.kytms.transportorder.OrderSql;
import com.kytms.transportorder.OrderStatus;
import com.kytms.transportorder.OrderTrackUtil;
import com.kytms.transportorder.dao.OrderProductDao;
import com.kytms.transportorder.dao.OrderRPDao;
import com.kytms.transportorder.dao.TransportOrderDao;
import com.kytms.transportorder.dao.impl.*;
import com.kytms.transportorder.service.TransportOrderService;
import com.kytms.verification.dao.VerificationDao;
import com.kytms.weizhitms.datasource.TMSDataSource;
import com.kytms.zone.dao.ZoneDao;
import com.kytms.zoneStoreroom.dao.ZoneStoreroomDao;
import org.apache.log4j.Logger;
import org.apache.poi.xssf.usermodel.*;
import org.springframework.beans.BeanUtils;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.io.File;
import java.io.Serializable;
import java.sql.Timestamp;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.*;
@Service(value = "TransportOrderService")
public class TransportOrderServiceImpl extends BaseServiceImpl<Order> implements TransportOrderService<Order> {
private final Logger log = Logger.getLogger(TransportOrderServiceImpl.class);//输出Log日志
private TransportOrderDao<Order> transportOrderDao;
private LedgerDetailDao ledgerDetailDao;
private AbnormalDetailDao abnormalDetailDao;
private AbnormalService abnormalService;
private AbnormalDao abnormalDao;
private FeeTypeDao feeTypeDao;
private OrderBackDao orderBackDao;
private VerificationDao verificationDao;
private PrescoProductDao prescoProductDao;
private SingleServiceImpl singleService;
private CustomerDao customerDao;
private ZoneStoreroomDao zoneStoreroomDao;//在库区域
private ServerZoneDao serverZoneDao;//运点
private OrgDao orgDao;//目的运点
private OrderProductDao orderProductDao;//货品
private OrderRPDao neworderRPDao;
private FeeTypeContrastDao feeTypeContrastDao;
// private ZoneDao zoneDao;//城市
//
// @Resource(name = "ZoneDao")
// public void setZoneDao(ZoneDao zoneDao) {
// this.zoneDao = zoneDao;
// }
@Resource(name = "FeeTypeContrastDao")
public void setFeeTypeContrastDao(FeeTypeContrastDao feeTypeContrastDao) {
this.feeTypeContrastDao = feeTypeContrastDao;
}
@Resource(name = "OrderRPDao")
public void setNeworderRPDao(OrderRPDao neworderRPDao) {
this.neworderRPDao = neworderRPDao;
}
@Resource(name = "OrderProductDao")
public void setOrderProductDao(OrderProductDao orderProductDao) {
this.orderProductDao = orderProductDao;
}
@Resource(name = "OrgDao")
public void setOrgDao(OrgDao orgDao) {
this.orgDao = orgDao;
}
@Resource(name = "ServerZoneDao")
public void setServerZoneDao(ServerZoneDao serverZoneDao) {
this.serverZoneDao = serverZoneDao;
}
@Resource(name = "ZoneStoreroomDao")
public void setZoneStoreroomDao(ZoneStoreroomDao zoneStoreroomDao) {
this.zoneStoreroomDao = zoneStoreroomDao;
}
@Resource(name = "CustomerDao")
public void setCustomerDao(CustomerDao customerDao) {
this.customerDao = customerDao;
}
@Resource(name = "PrescoProductDao")
public void setPrescoProductDao(PrescoProductDao prescoProductDao) {
this.prescoProductDao = prescoProductDao;
}
@Resource()
public void setSingleService(SingleServiceImpl singleService) {
this.singleService = singleService;
}
@Resource(name = "VerificationDao")
public void setVerificationDao(VerificationDao verificationDao) {
this.verificationDao = verificationDao;
}
@Resource(name = "OrderBackDao")
public void setOrderBackDao(OrderBackDao orderBackDao) {
this.orderBackDao = orderBackDao;
}
@Resource(name = "FeeTypeDao")
public void setFeeTypeDao(FeeTypeDao feeTypeDao) {
this.feeTypeDao = feeTypeDao;
}
@Resource(name = "AbnormalDao")
public void setAbnormalDao(AbnormalDao abnormalDao) {
this.abnormalDao = abnormalDao;
}
public static final String CODE_ONE = "-1";
private InOrOutRecordDao<InOrOutRecord> inOrOutRecordDao;
@Resource(name = "InOrOutRecordDao")
public void setInOrOutRecordDao(InOrOutRecordDao<InOrOutRecord> inOrOutRecordDao) {
this.inOrOutRecordDao = inOrOutRecordDao;
}
@Resource()
public void setAbnormalService(AbnormalService abnormalService) {
this.abnormalService = abnormalService;
}
@Resource(name = "AbnormalDetailDao")
public void setAbnormalDetailDao(AbnormalDetailDao abnormalDetailDao) {
this.abnormalDetailDao = abnormalDetailDao;
}
@Resource(name = "TransportOrderDao")
public void setTransportOrderDao(TransportOrderDao transportOrderDao) {
super.setBaseDao(transportOrderDao);
this.transportOrderDao = transportOrderDao;
}
@Resource(name = "LedgerDetailDao")
public void setLedgerDetailDao(LedgerDetailDao ledgerDetailDao) {
this.ledgerDetailDao = ledgerDetailDao;
}
private ReceivingPartyDaoImpl receivingPartyDao = SpringUtils.getBean(ReceivingPartyDaoImpl.class);
private ShipmentService shipmentService = SpringUtils.getBean(ShipmentServiceImpl.class);
private OrderRPDao orderRPDao = SpringUtils.getBean(OrderRPDaoImpl.class);
private ShipmentDao shipmentDao = SpringUtils.getBean(ShipmentDaoImpl.class);
public JgGridListModel getOrderGrid(CommModel commModel) {
// String status = commModel.getStatus();
// String where = " and organization.id = '"+SessionUtil.getOrgId()+"'";
// if (status != null){
// where += " and status = "+status;
// }else {
// where += "and (status != 0 and status != 99)";
// }
// String orderBy = " order by create_Time desc";
// return super.getListByPage(commModel,where,orderBy);
String status = commModel.getStatus();
String where = " and b.id = '" + SessionUtil.getOrgId() + "'";
if (status != null) {
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
一、项目介绍 本项目是一套基于springboot框架实现的个人博客管理系统 包含:项目源码、数据库脚本等,该项目附带全部源码可作为毕设使用。 项目都经过严格调试,eclipse或者idea 确保可以运行! 该系统功能完善、界面美观、操作简单、功能齐全、管理便捷,具有很高的实际应用价值 二、开发技术和环境 主要技术:SpringMVC+Hibernat+Jquery+Boostrap 运行环境:Jdk 1.8 、MySql 5.7、Navicat、eclipse或者IDEA、Maven 三、功能说明 基础数据:组织机构模块,注册管理模块,行政区域,库存区域,费用类型等 订单管理:计划单,订单管理,分段订单,订单签收,订单回单管理 库存管理:在库操作,出入库记录 运营管理:运单,派车单,运单跟踪,车辆到站,到货车辆记录,货物到站 财务:内部核算,收入核销,干线成本核销,提派成本核销,其他成本核销,其他费用 报表中心 异常处理 详见 https://blog.csdn.net/weixin_43860634/article/details/128671550
资源推荐
资源详情
资源评论
收起资源包目录
基于JavaWeb实现蜀南调味品商城物流配货系统 (5774个子文件)
1 0B
1 0B
TransportOrderServiceImpl.class 100KB
ShipmentServiceImpl.class 49KB
UserAction.class 41KB
SingleServiceImpl.class 29KB
TransportOrderAction.class 24KB
SingleAction.class 24KB
ShipmentAction.class 22KB
PrescoServiceImpl.class 21KB
LedServiceImpl.class 17KB
Order.class 17KB
Shipment.class 16KB
VehicleArriveAction.class 15KB
Led.class 15KB
ExcelUtil.class 13KB
ExportExcelUtil.class 12KB
BaseServiceImpl.class 12KB
LedgerDetail.class 12KB
LoginAction.class 11KB
RuleTableAction.class 11KB
VerificationAction.class 11KB
Organization.class 11KB
Single.class 10KB
Customer.class 10KB
Presco.class 10KB
OrderBackServiceImpl.class 9KB
BaseDaoImpl.class 9KB
AbnormalServiceImpl.class 9KB
FeeTypeAction.class 9KB
VehicleArriveServiceImpl.class 9KB
VehicleHead.class 8KB
UserServiceImpl.class 8KB
OrderArriveServiceImpl.class 8KB
RoleServiceImpl.class 8KB
ServerZoneServiceImpl.class 8KB
DateUtils.class 8KB
ShipmentBackServiceImpl.class 7KB
TemplateServiceImpl.class 7KB
DriverAction.class 7KB
PrescoAction.class 7KB
DataBookServiceImpl.class 7KB
RuleAction.class 7KB
ZoneServiceImpl.class 6KB
ShipmentTemplate.class 6KB
OrgServiceImpl.class 6KB
OrgAction.class 6KB
CardValidUtils.class 6KB
ShiroDbRealm.class 6KB
RuleUtils.class 6KB
ValidUtils.class 6KB
JcRegistrationAction.class 6KB
MenuServiceImpl.class 6KB
CustomerAction.class 6KB
StringUtils.class 5KB
ServerZoneAction.class 5KB
ExcelUtils.class 5KB
FeeSeedServiceImpl.class 5KB
OrderBackAction.class 5KB
EntityUtil.class 5KB
VehicleHeadAction.class 5KB
ExportExcel.class 5KB
VerificationZb.class 5KB
Carrier.class 5KB
BaseAction.class 5KB
DriverUploadServiceImpl.class 5KB
MoneyUtils.class 4KB
VehicleHeadServiceImpl.class 4KB
LedReceivingParty.class 4KB
OrderReceivingParty.class 4KB
ShipmentBack.class 4KB
FeeSeed.class 4KB
ZoneStoreroomServiceImpl.class 4KB
VerificationRecordServiceImpl.class 4KB
LedSql.class 4KB
ReceivingParty.class 4KB
DataBookAction.class 4KB
BaseEntity.class 4KB
FeeType.class 4KB
OrderBack.class 4KB
RoleAction.class 4KB
Zone.class 4KB
ShipmentBackAction.class 4KB
MathExtend.class 4KB
BaseEntityNoCode.class 4KB
DriverUploadAction.class 4KB
CarrierAction.class 4KB
ReflectionUtils.class 4KB
TMSDataSource.class 4KB
Menu.class 4KB
FeeSeedAction.class 4KB
Driver.class 4KB
AbnormalAction.class 4KB
Abnormal.class 4KB
ZoneAction.class 4KB
VehicleServiceImpl.class 3KB
ShipmentSql.class 3KB
DriverServiceImpl.class 3KB
ShipmenTracktAction.class 3KB
Role.class 3KB
共 5774 条
- 1
- 2
- 3
- 4
- 5
- 6
- 58
资源评论
- weixin_630977342023-05-09不会弄啊,能不能给个教程
飞翔的佩奇
- 粉丝: 6123
- 资源: 1603
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功