瀏覽代碼

工厂端客户查询优化、商品提交优化

liyuan 1 月之前
父節點
當前提交
44750ccacd

+ 3 - 0
blade-service/gubersail-dealer-admin/src/main/java/com/gubersail/admin/fc/customer/mapper/FcCustomerDescMapper.xml

@@ -47,6 +47,9 @@
         <if test="corpsDesc.corpType!=null and corpsDesc.corpType != ''">
             and corp_type like CONCAT(CONCAT('%', #{corpsDesc.corpType}), '%')
         </if>
+        <if test="corpsDesc.brandName!=null and corpsDesc.brandName != ''">
+            and brand_name like CONCAT(CONCAT('%', #{corpsDesc.brandName}), '%')
+        </if>
         <if test="corpsDesc.checkStatus != null and corpsDesc.checkStatus != ''">
             and check_status = #{corpsDesc.checkStatus}
         </if>

+ 1 - 1
blade-service/gubersail-dealer-admin/src/main/java/com/gubersail/admin/inventory/impl/StockDescServiceImpl.java

@@ -144,7 +144,7 @@ public class StockDescServiceImpl extends ServiceImpl<StockDescMapper, PjStockDe
 
 	private R<String> verifyVersion (PjStockDesc stockDesc) {
 		if (Objects.isNull(stockDesc.getId())) {
-			return R.fail("请求缺少重要参数,请刷新后重试");
+			return null;
 		}
 		PjStockDesc srcStock = this.getById(stockDesc.getId());
 		if (!stockDesc.getVersion().equals(srcStock.getVersion())) {