修改产品日志文件
This commit is contained in:
parent
37f849d7ae
commit
c128e79671
@ -146,7 +146,7 @@ public class ProductManager{
|
||||
}
|
||||
|
||||
public String getSortNo(JBOTransaction tx) throws Exception {
|
||||
addProductDataLog(tx, newProductID, "add", "A", "data", userId, orgId);
|
||||
addProductDataLog(tx, newProductID, "A", "A", "data", userId, orgId);
|
||||
return this.checkTypeNo(tx);
|
||||
}
|
||||
|
||||
@ -280,7 +280,7 @@ public class ProductManager{
|
||||
bomPN.createQuery("delete from O where prdid = '" + productID + "'").executeUpdate();
|
||||
|
||||
//增加产品编辑日志
|
||||
addProductDataLog(tx, productID, "delete", "D", "data", userId, orgId);
|
||||
addProductDataLog(tx, productID, "D", "D", "data", userId, orgId);
|
||||
|
||||
for(BusinessObject ps:psl){
|
||||
String configFile = ps.getString("ConfigFile");
|
||||
@ -338,7 +338,7 @@ public class ProductManager{
|
||||
bomanager.updateDB();
|
||||
|
||||
//增加产品编辑日志
|
||||
addProductDataLog(tx, "Cata"+sortNo, "add", "A", "catalog", userId, orgId);
|
||||
addProductDataLog(tx, "Cata"+sortNo, "A", "A", "catalog", userId, orgId);
|
||||
|
||||
return "true";
|
||||
}
|
||||
@ -416,12 +416,12 @@ public class ProductManager{
|
||||
bomanager.deleteBusinessObject(bo);
|
||||
|
||||
//增加产品编辑日志
|
||||
addProductDataLog(tx, typeNo, "delete", "D", "data", userId, orgId);
|
||||
addProductDataLog(tx, typeNo, "D", "D", "data", userId, orgId);
|
||||
}
|
||||
bomanager.updateDB();
|
||||
|
||||
//增加产品编辑日志
|
||||
addProductDataLog(tx, catalogNo, "delete", "D", "catalog", userId, orgId);
|
||||
addProductDataLog(tx, catalogNo, "D", "D", "catalog", userId, orgId);
|
||||
|
||||
return "true";
|
||||
}
|
||||
@ -512,7 +512,7 @@ public class ProductManager{
|
||||
DataOperatorUtil.copyJBOSet(PRD_NODECONFIG.CLASS_NAME, fromCondition, PRD_NODECONFIG.CLASS_NAME, new HashMap<String,String>(), otherProperty, null, tx);
|
||||
|
||||
//增加产品编辑日志
|
||||
addProductDataLog(tx, id, "add", "A", "data", userId, orgId);
|
||||
addProductDataLog(tx, id, "A", "A", "data", userId, orgId);
|
||||
|
||||
return "SUCCESS";
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user