优化代码生成

pull/85/MERGE
Ricky 3 years ago
parent 52f8693e1d
commit 887430874d

@ -3,7 +3,7 @@ package ${packageName}.service.impl;
import java.util.List; import java.util.List;
#foreach ($column in $columns) #foreach ($column in $columns)
#if($column.javaField == 'createTime' || $column.javaField == 'updateTime') #if($column.javaField == 'createTime' || $column.javaField == 'updateTime')
import com.scxt.common.core.utils.DateUtils; import com.ruoyi.common.core.utils.DateUtils;
#break #break
#end #end
#end #end
@ -11,7 +11,7 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
#if($table.sub) #if($table.sub)
import java.util.ArrayList; import java.util.ArrayList;
import com.scxt.common.core.utils.StringUtils; import com.ruoyi.common.core.utils.StringUtils;
import org.springframework.transaction.annotation.Transactional; import org.springframework.transaction.annotation.Transactional;
import ${packageName}.domain.${subClassName}; import ${packageName}.domain.${subClassName};
#end #end

Loading…
Cancel
Save