代码备份

zhairh
anthonyywj2 3 years ago
parent 80adb05c93
commit 17efd70026

@ -64,7 +64,7 @@ public class SpsSyncDownloadController {
if (CollUtil.isNotEmpty(baseResponse.getData().getAuthAdminList()))
logs = logs + "系统用户信息:" + baseResponse.getData().getAuthAdminList().size() + "条\n";
if (CollUtil.isNotEmpty(baseResponse.getData().getDeptEntityList()))
logs = logs + "部门信息:" + baseResponse.getData().getAuthAdminList().size() + "条\n";
logs = logs + "部门信息:" + baseResponse.getData().getDeptEntityList().size() + "条\n";
basicExportStatusEntity.setRemark(logs);
basicExportService.updateExportStatus(basicExportStatusEntity);

@ -16,8 +16,8 @@ public interface DeptDao {
boolean updateDept(DeptEntity deptEntity);
boolean deleteById(Integer id);
boolean deleteAll();
}

@ -17,4 +17,5 @@ public interface DeptService {
boolean deleteById(Integer id);
boolean deleteAll();
}

@ -38,4 +38,9 @@ public class DeptServiceImpl implements DeptService {
public boolean deleteById(Integer id) {
return deptDao.deleteById(id);
}
@Override
public boolean deleteAll() {
return deptDao.deleteAll();
}
}

@ -40,4 +40,10 @@
where id = #{id}
</delete>
<delete id="deleteAll">
delete
from auth_dept
</delete>
</mapper>
Loading…
Cancel
Save