代码生成

This commit is contained in:
PandaGoAdmin
2022-01-03 19:03:39 +08:00
parent 1a1f137725
commit b6a8fe5e1b
53 changed files with 2467 additions and 459 deletions

View File

@@ -23,7 +23,7 @@ var SysRoleDeptModelDao SysRoleDeptModel = &sysRoleDeptImpl{
}
func (m *sysRoleDeptImpl) Insert(roleId int64, deptIds []int64) bool {
sql := "INSERT INTO `sys_role_depts` (`role_id`,`dept_id`) VALUES "
sql := "INSERT INTO sys_role_depts (role_id, dept_id) VALUES "
for i := 0; i < len(deptIds); i++ {
if len(deptIds)-1 == i {