diff --git a/src_prd/com/amarsoft/app/als/prd/manager/ProductManager.java b/src_prd/com/amarsoft/app/als/prd/manager/ProductManager.java index 5ccbaf572..abf7ddf1c 100644 --- a/src_prd/com/amarsoft/app/als/prd/manager/ProductManager.java +++ b/src_prd/com/amarsoft/app/als/prd/manager/ProductManager.java @@ -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(), otherProperty, null, tx); //增加产品编辑日志 - addProductDataLog(tx, id, "add", "A", "data", userId, orgId); + addProductDataLog(tx, id, "A", "A", "data", userId, orgId); return "SUCCESS"; }