📄 staffmore.java
字号:
package com.sxit.wap.staff;import java.sql.*;import java.util.*;import com.sxit.wap.common.*;import com.sxit.wap.exception.*;public class StaffMore extends StaffDao{ public static int getRowCountByGroupIdAndMobile(int groupId, String mobile) throws SysException { String sql = "SELECT COUNT(*) FROM " + tableName + " WHERE GROUP_ID = " + groupId + (StringUtil.isNotEmpty(mobile)?" AND TEL LIKE '%" + mobile + "%'":"" + " ORDER BY USER_NAME"); return getRowCountBySql(sql); } public static Collection queryByGroupIdAndMobile(int groupId, String mobile, int beginRow, int endRow) throws SysException { String sql = "SELECT * FROM " + tableName + " WHERE GROUP_ID = " + groupId + (StringUtil.isNotEmpty(mobile)?" AND TEL LIKE '%" + mobile + "%'":"" + " ORDER BY USER_NAME"); return queryBySql(sql, beginRow, endRow); } public static void main(String[] args) { }}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -