福利方案列表
This commit is contained in:
parent
13b69c76eb
commit
e5100c8f44
|
|
@ -23,7 +23,9 @@ import lombok.NoArgsConstructor;
|
|||
fromSql = "FROM hrsa_insurance_category",
|
||||
orderby = "id desc",
|
||||
primarykey = "id",
|
||||
operates = {@SalaryTableOperate(text = "编辑")}
|
||||
operates = {
|
||||
@SalaryTableOperate(index = "0", text = "编辑"),
|
||||
}
|
||||
)
|
||||
public class ICategoryListDTO {
|
||||
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import lombok.NoArgsConstructor;
|
|||
@SalaryTable(pageId = "98acb87d-1509-4078-8061-41ff45e9573b",
|
||||
fields = "a.id," +
|
||||
"a.scheme_name," +
|
||||
"a.payment_type," +
|
||||
"a.payment_type as paymentType," +
|
||||
"GROUP_CONCAT(b.insurance_id SEPARATOR ',') insurance_id," +
|
||||
"GROUP_CONCAT(c.insurance_name SEPARATOR ',') insurance_name," +
|
||||
"a.remarks",
|
||||
|
|
@ -31,8 +31,10 @@ import lombok.NoArgsConstructor;
|
|||
orderby = "id desc",
|
||||
groupby = "id",
|
||||
primarykey = "id",
|
||||
operates = {@SalaryTableOperate(text = "编辑"),
|
||||
@SalaryTableOperate(text = "复制")}
|
||||
operates = {
|
||||
@SalaryTableOperate(index = "0", text = "编辑"),
|
||||
@SalaryTableOperate(index = "1", text = "复制")
|
||||
}
|
||||
)
|
||||
public class SISchemeTableVO {
|
||||
/**
|
||||
|
|
@ -50,7 +52,7 @@ public class SISchemeTableVO {
|
|||
/**
|
||||
* 缴纳类型
|
||||
*/
|
||||
@SalaryTableColumn(column = "payment_type", width = "10%", text = "缴纳类型")
|
||||
@SalaryTableColumn(column = "paymentType", width = "10%", text = "缴纳类型", transmethod = "com.engine.salary.transmethod.SISchemeTransMethod.getPaymentType")
|
||||
private String paymentType;
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,17 @@
|
|||
package com.engine.salary.transmethod;
|
||||
|
||||
/**
|
||||
* 社保福利转换
|
||||
*/
|
||||
public class SISchemeTransMethod {
|
||||
public static String getPaymentType(String type) {
|
||||
switch (type) {
|
||||
case "1":
|
||||
return "城镇";
|
||||
case "2":
|
||||
return "农村";
|
||||
default:
|
||||
return "";
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue