ÎļþÃû´Ó se-modules/se-gen/src/main/java/com/se/gen/service/GenTableServiceImpl.java ÐÞ¸Ä |
| | |
| | | package com.se.gen.service; |
| | | package com.se.system.service.impl; |
| | | |
| | | import com.alibaba.fastjson2.JSON; |
| | | import com.alibaba.fastjson2.JSONObject; |
| | | import com.se.common.core.constant.Constants; |
| | | import com.se.common.core.constant.GenConstants; |
| | | import com.se.common.core.exception.ServiceException; |
| | | import com.se.common.core.text.CharsetKit; |
| | | import com.se.common.core.utils.StringUtils; |
| | | import com.se.common.security.utils.SecurityUtils; |
| | | import com.se.system.domain.GenTable; |
| | | import com.se.system.domain.GenTableColumn; |
| | | import com.se.system.mapper.GenTableColumnMapper; |
| | | import com.se.system.mapper.GenTableMapper; |
| | | import com.se.system.service.inte.IGenTableService; |
| | | import com.se.system.utils.GenUtils; |
| | | import com.se.system.utils.VelocityInitializer; |
| | | import com.se.system.utils.VelocityUtils; |
| | | import org.apache.commons.io.FileUtils; |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.apache.velocity.Template; |
| | | import org.apache.velocity.VelocityContext; |
| | | import org.apache.velocity.app.Velocity; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | |
| | | import javax.annotation.Resource; |
| | | import java.io.ByteArrayOutputStream; |
| | | import java.io.File; |
| | | import java.io.IOException; |
| | |
| | | import java.util.zip.ZipEntry; |
| | | import java.util.zip.ZipOutputStream; |
| | | |
| | | import com.se.gen.domain.GenTableColumn; |
| | | import com.se.gen.util.GenUtils; |
| | | import com.se.gen.util.VelocityInitializer; |
| | | import com.se.gen.util.VelocityUtils; |
| | | import org.apache.commons.io.FileUtils; |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.apache.velocity.Template; |
| | | import org.apache.velocity.VelocityContext; |
| | | import org.apache.velocity.app.Velocity; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import com.alibaba.fastjson2.JSON; |
| | | import com.alibaba.fastjson2.JSONObject; |
| | | import com.se.common.core.constant.Constants; |
| | | import com.se.common.core.constant.GenConstants; |
| | | import com.se.common.core.exception.ServiceException; |
| | | import com.se.common.core.text.CharsetKit; |
| | | import com.se.common.core.utils.StringUtils; |
| | | import com.se.common.security.utils.SecurityUtils; |
| | | import com.se.gen.domain.GenTable; |
| | | import com.se.gen.mapper.GenTableColumnMapper; |
| | | import com.se.gen.mapper.GenTableMapper; |
| | | |
| | | /** |
| | | * ä¸å¡ æå¡å±å®ç° |
| | | * |
| | |
| | | { |
| | | private static final Logger log = LoggerFactory.getLogger(GenTableServiceImpl.class); |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private GenTableMapper genTableMapper; |
| | | |
| | | @Autowired |
| | | @Resource |
| | | private GenTableColumnMapper genTableColumnMapper; |
| | | |
| | | /** |