|
|
@@ -735,6 +735,26 @@ public class u8 extends Controller {
|
|
|
return getSucReturnObject().toString();
|
|
|
}
|
|
|
|
|
|
+ @API(title = "价格明细调整", apiversion = R.ID2026013110392802.v1.class)
|
|
|
+ @CACHEING_CLEAN(apiClass = {u8.class, u8billcodes.class, u8bills.class, u8itemprice.class})
|
|
|
+ public String newApiMethod() throws YosException {
|
|
|
+
|
|
|
+
|
|
|
+ Long u8itempriceid = content.getLongValue("u8itempriceid");
|
|
|
+ BigDecimal price = content.getBigDecimal("price");
|
|
|
+ BigDecimal taxprice = content.getBigDecimal("taxprice");
|
|
|
+ BigDecimal taxrate = content.getBigDecimal("taxrate");
|
|
|
+
|
|
|
+ UpdateSQL updateSQL = SQLFactory.createUpdateSQL(this, "u8itemprice");
|
|
|
+ updateSQL.setUniqueid(u8itempriceid);
|
|
|
+ updateSQL.setSiteid(siteid);
|
|
|
+ updateSQL.setValue("price", price);
|
|
|
+ updateSQL.setValue("taxprice", taxprice);
|
|
|
+ updateSQL.setValue("taxrate", taxrate);
|
|
|
+ updateSQL.update();
|
|
|
+ return getSucReturnObject().toString();
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
@API(title = "创建U8发货单", apiversion = R.ID2025080113261703.v1.class)
|
|
|
public String createU8Bill() throws YosException {
|