Merge pull request 'aike' (#243) from aike into master

Reviewed-on: http://git.xdadan.loc/tanex/emis-service/pulls/243
This commit is contained in:
heyu 2025-11-25 18:57:53 +08:00
commit 33e99b89e8
4 changed files with 40 additions and 40 deletions

View File

@ -924,7 +924,7 @@ public class EmisCommonController extends EmisBaseController
redissonService.setStr(statusKey, "RUNNING", 1800); redissonService.setStr(statusKey, "RUNNING", 1800);
// 异步执行任务 // 异步执行任务
emisTmsSiteBatchMissService.autoScanSiteBatch(lineCode); // emisTmsSiteBatchMissService.autoScanSiteBatch(lineCode);
log.info("autoScanSiteBatch async task started"); log.info("autoScanSiteBatch async task started");
return AjaxResult.success("异步任务已启动,请稍后查看执行结果"); return AjaxResult.success("异步任务已启动,请稍后查看执行结果");

View File

@ -248,7 +248,7 @@ public class EmisTmsSiteBatchMissServiceImpl extends EmisBaseService implements
// 3) 调用scanSiteBatchByWaybills重新扫描 // 3) 调用scanSiteBatchByWaybills重新扫描
if (!waybills.isEmpty()) { if (!waybills.isEmpty()) {
this.scanSiteBatchByWaybills(waybills); // this.scanSiteBatchByWaybills(waybills);
} }
} }

View File

@ -1,10 +1,10 @@
/** /**
* @Project: emis * @Project: emis
* @Title: EmisTmsSiteBatchServiceImpl.java * @Title: EmisTmsSiteBatchServiceImpl.java
* @author linfso * @author linfso
* @date 2024-03-01 08:54:56 * @date 2024-03-01 08:54:56
* @Copyright: ShangHai Duta 2022 All rights reserved. * @Copyright: ShangHai Duta 2022 All rights reserved.
* @version v1.0 * @version v1.0
* @Description: <p> 一级网点TMS组批次 实体类 </p> * @Description: <p> 一级网点TMS组批次 实体类 </p>
*/ */
@ -40,7 +40,7 @@ import org.springframework.util.CollectionUtils;
/** /**
* 一级网点TMS组批次Service业务层处理 * 一级网点TMS组批次Service业务层处理
* *
* @author linfso * @author linfso
* @date 2024-03-01 08:54:56 * @date 2024-03-01 08:54:56
*/ */
@ -73,7 +73,7 @@ public class EmisTmsSiteBatchServiceImpl extends EmisBaseService implements IEmi
/** /**
* 获取稽核数据 * 获取稽核数据
* *
* @param id * @param id
* @return * @return
*/ */
@ -85,7 +85,7 @@ public class EmisTmsSiteBatchServiceImpl extends EmisBaseService implements IEmi
/** /**
* 查询一级网点TMS组批次 * 查询一级网点TMS组批次
* *
* @param id 一级网点TMS组批次主键 * @param id 一级网点TMS组批次主键
* @return 一级网点TMS组批次 * @return 一级网点TMS组批次
*/ */
@ -112,7 +112,7 @@ public class EmisTmsSiteBatchServiceImpl extends EmisBaseService implements IEmi
/** /**
* 查询一级网点TMS组批次列表 * 查询一级网点TMS组批次列表
* *
* @param emisTmsSiteBatch 一级网点TMS组批次 * @param emisTmsSiteBatch 一级网点TMS组批次
* @return 一级网点TMS组批次 * @return 一级网点TMS组批次
*/ */
@ -123,7 +123,7 @@ public class EmisTmsSiteBatchServiceImpl extends EmisBaseService implements IEmi
/** /**
* 批次明细 * 批次明细
* *
* @param emisTmsSiteBatch * @param emisTmsSiteBatch
* @return * @return
*/ */
@ -134,7 +134,7 @@ public class EmisTmsSiteBatchServiceImpl extends EmisBaseService implements IEmi
/** /**
* 新增一级网点TMS组批次 * 新增一级网点TMS组批次
* *
* @param emisTmsSiteBatch 一级网点TMS组批次 * @param emisTmsSiteBatch 一级网点TMS组批次
* @return 结果 * @return 结果
*/ */
@ -452,7 +452,7 @@ public class EmisTmsSiteBatchServiceImpl extends EmisBaseService implements IEmi
/** /**
* 修改一级网点TMS组批次 * 修改一级网点TMS组批次
* *
* @param emisTmsSiteBatch 一级网点TMS组批次 * @param emisTmsSiteBatch 一级网点TMS组批次
* @return 结果 * @return 结果
*/ */
@ -468,7 +468,7 @@ public class EmisTmsSiteBatchServiceImpl extends EmisBaseService implements IEmi
/** /**
* 批量删除一级网点TMS组批次 * 批量删除一级网点TMS组批次
* *
* @param ids 需要删除的一级网点TMS组批次主键 * @param ids 需要删除的一级网点TMS组批次主键
* @return 结果 * @return 结果
*/ */
@ -489,7 +489,7 @@ public class EmisTmsSiteBatchServiceImpl extends EmisBaseService implements IEmi
/** /**
* 删除一级网点TMS组批次信息 * 删除一级网点TMS组批次信息
* *
* @param id 一级网点TMS组批次主键 * @param id 一级网点TMS组批次主键
* @return 结果 * @return 结果
*/ */
@ -509,7 +509,7 @@ public class EmisTmsSiteBatchServiceImpl extends EmisBaseService implements IEmi
if (CollectionUtil.isEmpty(waybills)) { if (CollectionUtil.isEmpty(waybills)) {
return; return;
} }
scanSiteBatchByWaybills(waybills); // scanSiteBatchByWaybills(waybills);
} }
@Override @Override

View File

@ -157,32 +157,32 @@ public class EmisWaybillServiceImpl extends EmisBaseService implements IEmisWayb
* @param emisWaybillSave * @param emisWaybillSave
*/ */
private void saveOrUpdateWaybillOther(EmisWaybill emisWaybillSave) { private void saveOrUpdateWaybillOther(EmisWaybill emisWaybillSave) {
// if (emisWaybillSave == null || emisWaybillSave.getId() == null) { if (emisWaybillSave == null || emisWaybillSave.getId() == null) {
// return; return;
// } }
//
// String salesSupport = emisWaybillSave.getSalesSupport(); String salesSupport = emisWaybillSave.getSalesSupport();
// String billCode = emisWaybillSave.getBillCode(); String billCode = emisWaybillSave.getBillCode();
// Long waybillId = emisWaybillSave.getId(); Long waybillId = emisWaybillSave.getId();
//
// // 查询是否已存在 // 查询是否已存在
// EmisWaybillOther existing = emisWaybillOtherMapper.selectEmisWaybillOtherByWaybillId(waybillId); EmisWaybillOther existing = emisWaybillOtherMapper.selectEmisWaybillOtherByWaybillId(waybillId);
//
// if (existing != null) { if (existing != null) {
// // 更新 // 更新
// existing.setSalesSupport(salesSupport); existing.setSalesSupport(salesSupport);
// existing.setBillCode(billCode); existing.setBillCode(billCode);
// existing.preUpdate(); existing.preUpdate();
// emisWaybillOtherMapper.updateEmisWaybillOther(existing); emisWaybillOtherMapper.updateEmisWaybillOther(existing);
// } else { } else {
// // 新增 // 新增
// EmisWaybillOther waybillOtherEntity = new EmisWaybillOther(); EmisWaybillOther waybillOtherEntity = new EmisWaybillOther();
// waybillOtherEntity.setWaybillId(waybillId); waybillOtherEntity.setWaybillId(waybillId);
// waybillOtherEntity.setBillCode(billCode); waybillOtherEntity.setBillCode(billCode);
// waybillOtherEntity.setSalesSupport(salesSupport); waybillOtherEntity.setSalesSupport(salesSupport);
// waybillOtherEntity.preInsert(); waybillOtherEntity.preInsert();
// emisWaybillOtherMapper.insertEmisWaybillOther(waybillOtherEntity); emisWaybillOtherMapper.insertEmisWaybillOther(waybillOtherEntity);
// } }
} }
/** /**