Merge pull request 'develop' (#268) from develop into master

Reviewed-on: http://git.xdadan.loc/tanex/emis-service/pulls/268
This commit is contained in:
heyu 2025-12-15 15:49:03 +08:00
commit 6eb690e5c6
5 changed files with 15 additions and 3 deletions

View File

@ -97,13 +97,19 @@ public class EmisTmsSiteBatchController extends EmisBaseController
/** /**
* 用于批次批量上传使用 * 用于批次批量上传使用
*
* @param emisTmsSiteBatch * @param emisTmsSiteBatch
* @return * @return
*/ */
@GetMapping("/listBySupplerAndCarNo") @GetMapping("/listBySupplerAndCarNo")
public TableDataInfo listBySupplerAndCarNo(EmisTmsSiteBatch emisTmsSiteBatch) public TableDataInfo listBySupplerAndCarNo(EmisTmsSiteBatch emisTmsSiteBatch) {
{ if (StringUtils.isNotBlank(emisTmsSiteBatch.getBatchNo())) {
List<EmisTmsSiteBatch> list = emisTmsSiteBatchService.selectTmsSiteBatchBySupplerAndCarNo(emisTmsSiteBatch.getSupplierCode(),emisTmsSiteBatch.getCarNo(),emisTmsSiteBatch.getEtd()); EmisTmsSiteBatch queryByBatchNo = new EmisTmsSiteBatch();
queryByBatchNo.setBatchNo(emisTmsSiteBatch.getBatchNo());
List<EmisTmsSiteBatch> list = emisTmsSiteBatchService.selectEmisTmsSiteBatchList(queryByBatchNo);
return getDataTable(list);
}
List<EmisTmsSiteBatch> list = emisTmsSiteBatchService.selectTmsSiteBatchBySupplerAndCarNo(emisTmsSiteBatch.getSupplierCode(), emisTmsSiteBatch.getCarNo(), emisTmsSiteBatch.getEtd());
return getDataTable(list); return getDataTable(list);
} }

View File

@ -13,3 +13,4 @@ public @interface WaybillLightCount {
} }

View File

@ -50,3 +50,4 @@ public class EmisWaybillOther extends BaseEntity {
} }

View File

@ -79,3 +79,4 @@ public interface EmisWaybillOtherMapper extends BaseMapper<EmisWaybillOther> {
} }

View File

@ -3381,6 +3381,9 @@ public class EmisBaseService {
* @return * @return
*/ */
public EmisCustomerUser createMoneyCustomerUser(EmisCustomerUser emisCustomerUser) { public EmisCustomerUser createMoneyCustomerUser(EmisCustomerUser emisCustomerUser) {
if(Objects.isNull(emisCustomerUser)||StringUtils.isBlank(emisCustomerUser.getPhone())){
return new EmisCustomerUser();
}
// 直接返回客户 // 直接返回客户
if (emisCustomerUser.getCustomerCode() != null) { if (emisCustomerUser.getCustomerCode() != null) {
return emisCustomerUser; return emisCustomerUser;