|
|
|
@ -109,7 +109,6 @@ public class ThrOrderDownload implements IDownload {
|
|
|
|
|
|
|
|
|
|
if (BusTypeConstant.QXCF001.getBusType().equals(collectOrderRequest.getBusType())) {
|
|
|
|
|
collectOrderBiz.setRelId(entity.getRelId());
|
|
|
|
|
|
|
|
|
|
if (StrUtil.isNotEmpty(entity.getCheckCode())) {
|
|
|
|
|
// 1. 先查询完全匹配的情况
|
|
|
|
|
LambdaQueryWrapper<BasicProductsEntity> exactMatchWrapper = new LambdaQueryWrapper<>();
|
|
|
|
@ -121,7 +120,6 @@ public class ThrOrderDownload implements IDownload {
|
|
|
|
|
prefixMatchWrapper.apply("LEFT(ybbm, 20) = LEFT({0}, 20)", entity.getCheckCode());
|
|
|
|
|
exactMatches = basicProductsDao.selectList(prefixMatchWrapper);
|
|
|
|
|
}
|
|
|
|
|
collectOrderBiz.setRelId(entity.getRelId());
|
|
|
|
|
if (exactMatches.isEmpty()) {
|
|
|
|
|
errorMsg.append(entity.getCpmctymc()).append("字典未对照").append(";");
|
|
|
|
|
}
|
|
|
|
|