全局修改物理删除为逻辑删除,同时修改查询语句过滤删除标识

This commit is contained in:
qiankunpingtai
2019-04-01 17:07:13 +08:00
parent 7dc1cdaafc
commit 1f2cf8c313
85 changed files with 1632 additions and 224 deletions

View File

@@ -486,8 +486,11 @@
{
$.ajax({
type:"post",
url: "/accountHead/" + accountHeadID + "/delete",
url: "/accountHead/batchDeleteAccountHeadByIds",
dataType: "json",
data:{
ids: accountHeadID
},
success: function (res) {
if(res && res.code == 200) {
$("#searchBtn").click();
@@ -576,7 +579,7 @@
//批量删除
$.ajax({
type:"post",
url: "/accountHead/batchDelete",
url: "/accountHead/batchDeleteAccountHeadByIds",
dataType: "json",
async : false,
data: ({

View File

@@ -170,8 +170,11 @@
var supplierTotalInfo = supplierInfo.split("AaBb");
$.ajax({
type:"post",
url: "/supplier/" + supplierTotalInfo[0] + "/delete",
url: "/supplier/batchDeleteSupplierByIds",
dataType: "json",
data: ({
ids : supplierTotalInfo[0]
}),
success: function (res) {
if(res && res.code == 200) {
$("#searchBtn").click();
@@ -210,7 +213,7 @@
}
$.ajax({
type:"post",
url: "/supplier/batchDelete",
url: "/supplier/batchDeleteSupplierByIds",
dataType: "json",
async : false,
data: ({