This commit is contained in:
linfso 2024-04-30 12:08:40 +08:00
parent d8dd660b8a
commit cb9c892be9
2 changed files with 7 additions and 6 deletions

View File

@ -72,5 +72,5 @@ public interface EmisNotCalcAgingMapper extends BaseMapper<EmisNotCalcAging>
public int deleteEmisNotCalcAgingByIds(Long[] ids);
public int getNotCalcAgingDays(@Param("recieveCountry") String destCountry,@Param("sendCountry") String sendCountry, @Param("startDate") Date startDate, @Param("startDate") Date endDate );
public int getNotCalcAgingDays(@Param("recieveCountry") String recieveCountry,@Param("sendCountry") String sendCountry, @Param("startDate") Date startDate, @Param("endDate") Date endDate );
}

View File

@ -237,17 +237,18 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
emisWaybillSave.setOrderSn(orderSn);
// 登记网点
emisWaybillSave.setRegisterSiteCode(emisWaybillSave.getCreateSite());
emisWaybillSave.setRegisterManCode(SecurityUtils.getLoginUser().getUser().getEmpCode());
emisWaybillSave.setRegisterSiteCode(getCurrentUser().getOwnerSiteCode());
emisWaybillSave.setRegisterManCode(getCurrentUser().getEmpCode());
// 发件网点
emisWaybillSave.setSendSiteCode(emisWaybillSave.getCreateSite());
emisWaybillSave.setSendSiteName(SecurityUtils.getLoginUser().getUser().getOwnerSiteName());
emisWaybillSave.setSendSiteCode(getCurrentUser().getOwnerSiteCode());
emisWaybillSave.setSendSiteName(getCurrentUser().getOwnerSiteName());
// 目的网点
// 派件网点
emisWaybillSave.setDispatchSiteCode(emisWaybillSave.getDispatchUnderlingSiteCode());
// 订单运单初始状态
emisWaybillSave.setOrderStatus("0");
emisWaybillSave.setWaybillStatus("0");