Commit a224f13e by zhiwj

bug

parent 7c689f6a
......@@ -12,6 +12,7 @@ import com.github.pagehelper.PageHelper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Date;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
......@@ -37,6 +38,7 @@ public class ProjectItemServiceImpl implements ProjectItemService {
public Integer save(ProjectItemDTO copy) {
TabProjectItem projectItem = EntityUtil.changeEntityByJSON(TabProjectItem.class, copy);
projectItem.setStatus(GlobalInfo.DATA_STATUS_NORMAL);
projectItem.setCreateTime(new Date());
tabProjectItemMapper.insertSelective(projectItem);
return projectItem.getProjectItemId();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment