Commit 5fa59b37 by qwmqiuwenmin

fix

parent 04741f85
......@@ -7,6 +7,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.gic.commons.util.EntityUtil;
import com.gic.haoban.common.utils.StringUtil;
import com.gic.haoban.manage.api.dto.TemplateEnterpriseRelatedDTO;
import com.gic.haoban.manage.service.dao.mapper.TabHaobanTemplateEnterpriseRelationMapper;
import com.gic.haoban.manage.service.entity.TabHaobanTemplateEnterpriseRelation;
......@@ -30,6 +31,7 @@ public class TemplateEnterpriseRelatedServiceImpl implements TemplateEnterpriseR
@Override
public void insert(TemplateEnterpriseRelatedDTO dto) {
dto.setTemplateEnterpriseRelationId(StringUtil.randomUUID());
dto.setCreateTime(new Date());
dto.setUpdateTime(new Date());
dto.setStatusFlag(1);
......
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