refactor(system): 重构系统模块的VO类和定时任务处理

This commit is contained in:
2026-01-07 19:18:05 +08:00
parent 394d1409e1
commit da6fe40960
44 changed files with 765 additions and 207 deletions
@@ -13,13 +13,12 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.odboy;
import cn.hutool.core.collection.CollUtil;
import cn.odboy.system.dal.dataobject.SystemDeptTb;
import cn.odboy.system.dal.dataobject.SystemJobTb;
import cn.odboy.system.dal.dataobject.SystemRoleTb;
import cn.odboy.system.dal.model.SystemDeptVo;
import cn.odboy.system.dal.model.SystemUserVo;
import cn.odboy.system.service.SystemUserService;
import java.util.Set;
@@ -36,19 +35,19 @@ public class SystemApplicationTests {
@Autowired
private SystemUserService systemUserService;
public static void main(String[] args) {
}
@Test
public void contextLoads() {
SystemDeptTb systemDept = new SystemDeptTb();
SystemDeptVo systemDept = new SystemDeptVo();
systemDept.setId(2L);
SystemJobTb systemJob = new SystemJobTb();
systemJob.setId(11L);
Set<SystemJobTb> systemJobs = CollUtil.newHashSet(systemJob);
SystemRoleTb systemRole = new SystemRoleTb();
systemRole.setId(2L);
Set<SystemRoleTb> systemRoles = CollUtil.newHashSet(systemRole);
String pwd = passwordEncoder.encode("123456");
for (int i = 100; i < 200; i++) {
SystemUserVo systemUser = new SystemUserVo();
@@ -64,4 +63,3 @@ public class SystemApplicationTests {
}
}
}