添加泛型

This commit is contained in:
钱涛 2022-03-07 19:34:02 +08:00
parent 382781fa26
commit daee5b4c35
2 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ public class TaxAgentListCmd extends AbstractCommonCommand<Map<String, Object>>
@Override
public Map<String, Object> execute(CommandContext commandContext) {
SalaryWeaTable table = new SalaryWeaTable(user, TaxAgentTableVO.class);
SalaryWeaTable<TaxAgentTableVO> table = new SalaryWeaTable<TaxAgentTableVO>(user, TaxAgentTableVO.class);
//sql条件
String sqlWhere = makeSqlWhere(params);

View File

@ -49,7 +49,7 @@ public class TaxRateListCmd extends AbstractCommonCommand<Map<String, Object>> {
sql += " and b.name like '%" + name + "%' ";
}
SalaryWeaTable table = new SalaryWeaTable(user, TaxRateTableVO.class);
SalaryWeaTable<TaxRateTableVO> table = new SalaryWeaTable<TaxRateTableVO>(user, TaxRateTableVO.class);
table.setSqlform(sql);
//设置check是否可用