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:
commit
6eb690e5c6
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -13,3 +13,4 @@ public @interface WaybillLightCount {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -50,3 +50,4 @@ public class EmisWaybillOther extends BaseEntity {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -79,3 +79,4 @@ public interface EmisWaybillOtherMapper extends BaseMapper<EmisWaybillOther> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user