|
@@ -1131,7 +1131,6 @@ public class YongyouServiceImpl implements YongyouService {
|
|
|
|
|
|
@Override
|
|
|
public String addSpare(InventoryTest inventoryTest, Integer tokenType) {
|
|
|
-
|
|
|
LongYanSpareAdd longYanSpareAdd = new LongYanSpareAdd();
|
|
|
longYanSpareAdd.setTokenType(tokenType);
|
|
|
try {
|
|
@@ -1367,12 +1366,12 @@ public class YongyouServiceImpl implements YongyouService {
|
|
|
StringBuffer whereStr = new StringBuffer(" 1=1 ");
|
|
|
// 仓库编码搜索
|
|
|
if (StringUtils.isNotBlank(record.getStoreNo())) {
|
|
|
- whereStr.append(" and cWhCode like '%" + record.getStoreNo() + "%' ");
|
|
|
+ whereStr.append(" and cDefWareHouse like '%" + record.getStoreNo() + "%' ");
|
|
|
}
|
|
|
// 仓库名称搜索
|
|
|
- if (StringUtils.isNotBlank(record.getStoreName())) {
|
|
|
- whereStr.append(" and cWhName like '%" + record.getStoreName() + "%' ");
|
|
|
- }
|
|
|
+// if (StringUtils.isNotBlank(record.getStoreName())) {
|
|
|
+// whereStr.append(" and cWhName like '%" + record.getStoreName() + "%' ");
|
|
|
+// }
|
|
|
// 存货编码搜索
|
|
|
if (StringUtils.isNotBlank(record.getSpareNo())) {
|
|
|
whereStr.append(" and cInvCode like '%" + record.getSpareNo() + "%' ");
|