ui适配调整 权限管理调整 上传数量调整
This commit is contained in:
1 parent
edb79b9abf
commit
deb84144cf
82 files changed
+1026
-485
No files matched your search
@@ -269,6 +269,7 @@ namespace KJD_Web.BLL
|
||||
var sub_user_name = RegexUtils.GetStringQuery(ref inputData, "sub_user_name");
|
||||
var notes = RegexUtils.GetStringQuery(ref inputData, "notes");
|
||||
var status = RegexUtils.GetStringQuery(ref inputData, "status");
|
||||
var add_product_remaining = RegexUtils.GetStringQuery(ref inputData, "add_product_remaining").ParseToInt();
|
||||
|
||||
if (string.IsNullOrEmpty(user_name))
|
||||
{
|
||||
@@ -287,6 +288,12 @@ namespace KJD_Web.BLL
|
||||
notes + "','" + status + "','" +
|
||||
DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "','" +
|
||||
DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "');";
|
||||
if (add_product_remaining > 0)
|
||||
{
|
||||
add_product_remaining = add_product_remaining - 1;
|
||||
sql += "\r\n";
|
||||
sql += "update kjd.shop set add_product_remaining=" + add_product_remaining + " where shop_id=" + shop_id + ";";
|
||||
}
|
||||
var rst = mySql.ExecuteNonQuery(sql);
|
||||
mySql.Close();
|
||||
if (rst)
|
||||
|
||||
Reference in new issue
Block a user