浏览代码

修改人和修改时间

wangfeng 6 年之前
父节点
当前提交
3175a793b8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      diagbotman-service/src/main/java/com/diagbot/facade/OpenedProductsFacade.java

+ 2 - 2
diagbotman-service/src/main/java/com/diagbot/facade/OpenedProductsFacade.java

@@ -218,8 +218,8 @@ public class OpenedProductsFacade extends OpenedProductsServiceImpl {
         OpenedProducts openedProducts = new OpenedProducts();
         openedProducts.setUserId(userId);
         openedProducts.setProductId(productId);
-        openedProducts.setCreator(UserUtils.getCurrentPrincipleID());
-        openedProducts.setGmtCreate(DateUtil.now());
+        openedProducts.setModifier(UserUtils.getCurrentPrincipleID());
+        openedProducts.setGmtModified(DateUtil.now());
         boolean res = delInformationAvailable(openedProducts);
         if (!res) {
             throw new CommonException(CommonErrorCode.UPDATE_INFO_FAIL);