Explorar el Código

删除配方不存在的库存

guowei hace 2 años
padre
commit
f09e212ead

BIN
cbkj_web_api/src/main/java/com/jiuzhekan/cbkj/mapper/formula/TFormulaAuthMapper.java


BIN
cbkj_web_api/src/main/java/com/jiuzhekan/cbkj/service/formula/center/TFormulaInterface.java


+ 4 - 0
cbkj_web_api/src/main/resources/mappers/formula/TFormulaAuthMapper.xml

@@ -31,6 +31,10 @@
         </foreach>
     </delete>
 
+    <delete id="deleteFormulaIdNotExists" >
+        delete from t_formula_auth where FORMULA_ID = ''
+    </delete>
+
     <delete id="deleteByCenterFormulaStocks" parameterType="List">
         delete from t_formula_auth where FORMULA_ID in (
             select FORMULA_ID from t_formula where STORE_PRICE_ID in