瀏覽代碼

브랜드 단가 수정 쿼리 수정

dwkim 2 年之前
父節點
當前提交
015f2955f9

+ 4 - 2
src/main/java/com/oqpo/api/service/stinfo/ItemUnitService.java

@@ -187,10 +187,12 @@ public class ItemUnitService extends CommonService {
187 187
                 itemUnitMapper.updateItemUnitInfo(userId, entity);
188 188
             }
189 189
         } catch (GlobalException e) {
190
-            e.getStackTrace();
190
+            e.printStackTrace();
191
+            //e.getStackTrace();
191 192
             throw new GlobalException(e.getSystemMessageCode());
192 193
         } catch (Exception e) {
193
-            e.getStackTrace();
194
+            e.printStackTrace();
195
+            //e.getStackTrace();
194 196
             throw new RuntimeException();
195 197
         }
196 198
     }

+ 1 - 1
src/main/resources/mybatis/sqlmaps/stinfo/ItemUnit.xml

@@ -161,7 +161,7 @@
161 161
             ,stdd_qty        = #{entity.stddQty}
162 162
             ,store_sale_stdd_qty = #{entity.storeSaleStddQty}
163 163
             ,store_sale_unit_amt = #{entity.storeSaleUnitAmt}
164
-        where brand_unit_unq_no = #{brandUnitUnqNo}
164
+        where brand_unit_unq_no = #{entity.brandUnitUnqNo}
165 165
     </update>
166 166
 
167 167
     <insert id="insertMergItemUnitInfo" >