|
|
|
@ -27,6 +27,7 @@ import com.logpm.basic.service.IBasicPrintTemplateService;
|
|
|
|
|
import com.logpm.basic.vo.BasicPrintTemplateVO; |
|
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
|
import org.apache.calcite.schema.Function; |
|
|
|
|
import org.springblade.core.mp.base.BaseServiceImpl; |
|
|
|
|
import org.springblade.core.secure.BladeUser; |
|
|
|
|
import org.springblade.core.secure.utils.AuthUtil; |
|
|
|
@ -81,7 +82,7 @@ public class BasicPrintTemplateServiceImpl extends BaseServiceImpl<BasicPrintTem
|
|
|
|
|
basicPrintTemplateEntity.setTenantId(user.getTenantId()); |
|
|
|
|
basicPrintTemplateEntity.setCreateUser(user.getUserId()); |
|
|
|
|
basicPrintTemplateEntity.setFounder(user.getUserId().toString()); |
|
|
|
|
basicPrintTemplateEntity.setCreateDept(Long.valueOf(user.getDeptId())); |
|
|
|
|
basicPrintTemplateEntity.setCreateDept(Func.firstLong(user.getDeptId())); |
|
|
|
|
basicPrintTemplateEntity.setCreateTime(date); |
|
|
|
|
basicPrintTemplateEntity.setIsDeleted(0); |
|
|
|
|
basicPrintTemplateEntity.setStatus(1); |
|
|
|
|