|
@@ -13,6 +13,7 @@ import org.jeecg.modules.ctop.service.IReleaseViewRecordService;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
+import java.util.Date;
|
|
|
import java.util.HashMap;
|
|
|
import java.util.Map;
|
|
|
|
|
@@ -58,6 +59,8 @@ public class ReleaseViewRecordServiceImpl extends ServiceImpl<ReleaseViewRecordM
|
|
|
ReleaseViewRecord releaseViewRecord = new ReleaseViewRecord();
|
|
|
releaseViewRecord.setUserId(userId);
|
|
|
releaseViewRecord.setReleaseId(versionId);
|
|
|
+ releaseViewRecord.setCreateTime(new Date());
|
|
|
+ releaseViewRecord.setUpdateTime(new Date());
|
|
|
this.save(releaseViewRecord);
|
|
|
ResultMapUtils.setResultMap(result,StatusCode.COMMON_SUCCESS);
|
|
|
return result;
|