修改产品日志新增类型

This commit is contained in:
zhulianghua 2018-08-07 10:28:45 +08:00
parent a55a058173
commit 8dcc4697ac

View File

@ -132,7 +132,7 @@ public class ProductManager{
public String addProductDataLog(JBOTransaction tx) throws Exception {
//增加产品编辑日志
BizObjectManager bomPL = JBOFactory.getBizObjectManager(PRODUCT_LOG.CLASS_NAME, tx);
String info = userId + new SimpleDateFormat("yyyyMMddHHmmss").format(new Date()) + "D";
String info = userId + new SimpleDateFormat("yyyyMMddHHmmss").format(new Date()) + "A";
BizObject boPL = bomPL.newObject();
boPL.setAttributeValue("name", newProductID);
boPL.setAttributeValue("information", info);