人员离职后再入职
This commit is contained in:
parent
096a5e22f0
commit
9a60c374c8
|
|
@ -401,7 +401,7 @@ public class AspAccountControler {
|
|||
}
|
||||
}
|
||||
}
|
||||
if(olddo.getString("number").startsWith("2211")){
|
||||
if(olddo.getString("number").startsWith("2211") || "2221010200".equals(olddo.getString("number"))){
|
||||
//2211开头的科目统一在科目接口上设置税基和税码的核算维度
|
||||
DynamicObjectCollection dochswd = newAcctInfo.getDynamicObjectCollection("checkitementry");
|
||||
DynamicObject itementryInfo = dochswd.addNew();
|
||||
|
|
|
|||
|
|
@ -150,8 +150,11 @@ public class PersonControler implements Serializable {
|
|||
dataMap.put("shjh_vp", json_body.getString("vp"));//分管总
|
||||
//处理离职人员
|
||||
if("0".equals(json_body.getString("status"))){
|
||||
dataMap.put("enable", "0");
|
||||
dataMap.put("isforbidden", true);
|
||||
dataMap.put("enable", "0");//是否可用 为不可用
|
||||
dataMap.put("isforbidden", true);//禁用为 是
|
||||
}else{
|
||||
dataMap.put("enable", "1");//是否可用 为可用
|
||||
dataMap.put("isforbidden", false);//禁用为 否
|
||||
}
|
||||
//处理费用成本中心
|
||||
costCenter = QueryServiceHelper.queryOne(ccName,"id,number",new QFilter[]{new QFilter("number","=",fycc)});
|
||||
|
|
|
|||
Loading…
Reference in New Issue