123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml">
- <head>
- <meta http-equiv="content-type" content="text/html;charset=UTF-8">
- <style type="text/css">
- <!--
- @import url(md.css);
- @import url(../md.css);
- -->
- </style>
-
-
- </head>
- <body>
- <h1>1 发起计算社保数据</h1>
- <ol>
- <li>本接口只是以城市为单位进行计算.</li>
- <li>结合参数配置, 城市方案, 员工方案进行计算.</li>
- <li>当企业开通了代缴时, 忽略城市方案的配置,只结合基本的参数配置和员工方案进行计算.</li>
- <li>基数类型: <strong>实际工资</strong> 暂时不支持.</li>
- </ol>
- <h3>1.1 计算请求</h3>
- <p>可以多个城市一次性提交计算.</p>
- <h5>URI</h5>
- <pre><code>/he/shebao_plan/setting/task POST
- </code></pre>
- <h5>参数</h5>
- <pre><code>String citys; 城市代码, 多个以","逗号间隔.
- String opt_month; 核算月份 2018-05 或 201805
- String ws_id; websocket的会话ID.
- </code></pre>
- <h3>1.2 计算响应</h3>
- <ol>
- <li>返回计算任务生成数据的主ID(以城市做为粒度)列表.</li>
- <li>计算过程中, 有详细的明细消息由<a href="common.html#ws">WebSocket服务</a>输出.</li>
- </ol>
- <h5>状态码</h5>
- <pre><code>200 计算数据成功完成.
- 500 有检查异常或计算过程中出错.
- 600 参数不合要求.
- </code></pre>
- <h5>响应示例</h5>
- <pre><code>{
- "data": [60,
- 61],
- "msg": "",
- "code": 200
- }
- </code></pre>
- <hr>
- <h1>2 计算生成的在保增员数据</h1>
- <ul>
- <li>这是计算完成后,需要展示计算数据的结果.</li>
- <li>发送计算完成返回的主ID来请求数据.</li>
- </ul>
- <h3>2.1 请求数据</h3>
- <h5>URI</h5>
- <pre><code>/he/shebao/list/task/data POST 加载在保和增员数据时请求
- </code></pre>
- <h5>参数</h5>
- <table><thead>
- <tr>
- <th align="left">字段</th>
- <th align="left">类型</th>
- <th align="left">Length</th>
- <th align="left">必须有值</th>
- <th align="left">必传</th>
- <th align="left">描述</th>
- </tr>
- </thead><tbody>
- <tr>
- <td align="left"><a href="common.html#page">curr</a></td>
- <td align="left">int</td>
- <td align="left">值1 ~ 1000</td>
- <td align="left"></td>
- <td align="left"></td>
- <td align="left">当前页码</td>
- </tr>
- <tr>
- <td align="left">ids</td>
- <td align="left">string</td>
- <td align="left"></td>
- <td align="left">Y</td>
- <td align="left">Y</td>
- <td align="left">多个主数据ID以逗号间隔</td>
- </tr>
- <tr>
- <td align="left">inc_normal_dec</td>
- <td align="left">int</td>
- <td align="left">值1,5,8</td>
- <td align="left"></td>
- <td align="left"></td>
- <td align="left">增减员类型()</td>
- </tr>
- </tbody></table>
- <ul>
- <li>inc_normal_dec 的值</li>
- </ul>
- <pre><code>INC(1, "增员"),
- NORMAL(5, "在保"),
- DEC(8, "减员")
- </code></pre>
- <div id="taskdatalistresp"></div>
- <h3>2.2 响应</h3>
- <p>数据最外层结构是Map.</p>
- <h5>data 字段</h5>
- <table><thead>
- <tr>
- <th align="left">字段</th>
- <th align="left">类型</th>
- <th align="left">字段名称</th>
- </tr>
- </thead><tbody>
- <tr>
- <td align="left">datas</td>
- <td align="left">WXYJManagerVO</td>
- <td align="left">在保或增员数据</td>
- </tr>
- <tr>
- <td align="left"><a href="common.html#page">page</a></td>
- <td align="left">Object</td>
- <td align="left">分页数据</td>
- </tr>
- </tbody></table>
- <h5>data.WXYJManagerVO字段</h5>
- <pre><code>Map<String, Object> headList; // 社保缴纳项的英文, 中文表头
- List<?> dataList; // 数据列表
- int inc_count; // 增员数
- int normal_count; // 在保数
- int dec_count; // 减员数
- </code></pre>
- <h5>WXYJManagerVO.dataList字段</h5>
- <table><thead>
- <tr>
- <th align="left">字段</th>
- <th align="left">类型</th>
- <th align="left">字段名称</th>
- </tr>
- </thead><tbody>
- <tr>
- <td align="left"><a href="t/wxyj.html#TWxyjEmployee"> wxyj</a></td>
- <td align="left">TWxyjEmployee</td>
- <td align="left">员工的社保/公积金主要数据</td>
- </tr>
- <tr>
- <td align="left"><a href="t/wxyj.html#TCompanyUser">comUser</a></td>
- <td align="left">TCompanyUser</td>
- <td align="left">员工的信息</td>
- </tr>
- <tr>
- <td align="left">city_name;</td>
- <td align="left">string</td>
- <td align="left">城市名称</td>
- </tr>
- <tr>
- <td align="left"><a href="t/wxyj.html#TWxyjEmployeeData">shebao</a></td>
- <td align="left">TWxyjEmployeeData</td>
- <td align="left">员工的社保数据</td>
- </tr>
- <tr>
- <td align="left">shebao_ent</td>
- <td align="left">Map</td>
- <td align="left">员工的社保企业缴纳明细数据</td>
- </tr>
- <tr>
- <td align="left">shebao_p</td>
- <td align="left">MAP</td>
- <td align="left">员工的社保个人缴纳明细数据</td>
- </tr>
- <tr>
- <td align="left"><a href="t/wxyj.html#TWxyjEmployeeData">fund</a></td>
- <td align="left">TWxyjEmployeeData</td>
- <td align="left">员工的公积金数据</td>
- </tr>
- </tbody></table>
- <h5>在保或增员的响应数据示例</h5>
- <p>两个主数据一起请求的数据示例, 广州和深圳.</p>
- <pre><code>{
- "code": 200,
- "msg": "",
- "data": {
- "datas": {
- "headList": {
- "medical": "基本医疗",
- "major": "重大疾病",
- "lose_job": "失业部分",
- "pension": "养老部分",
- "birth": "生育部分",
- "disabled": "残保金",
- "injury": "工伤部分"
- },
- "dataList": [{
- "wxyj": {
- "id": 53,
- "summary_id": 8,
- "ent_id": 1,
- "city_code": 1001,
- "opt_month": 201803,
- "com_userid": 1,
- "param_name": "标准",
- "total_fee": 2550.0,
- "ent_total": 750.0,
- "p_total": 1800.0,
- "shebao_month": 201803,
- "shebao_normal": 1,
- "fund_month": 201803,
- "fund_normal": 1,
- "shebao_status": 31,
- "fund_status": 31,
- "gen_time": 1525968000000,
- "update_time": 1526007314000,
- "shebao_note": "",
- "fund_note": ""
- },
- "comUser": {
- "user_id": 1,
- "company_id": 1,
- "user_name": "赖先生",
- "id_card": "123456789012345678",
- "nation": "汉",
- "phone": "12345678901",
- "gender": 1,
- "bank_card": "",
- "bank_name": "",
- "status": 1,
- "gen_time": 1526007314000
- },
- "city_name": "广州",
- "shebao": {
- "summary_id": 8,
- "eid": 53,
- "wxyj": 1,
- "radix_type": 2,
- "radix": 1895.0,
- "total_fee": 1257.33,
- "ent_amount": 910.84,
- "p_amount": 346.49,
- "charge": 69.0,
- "card_charge": 0.0,
- "ent_data": "{\"pension\":443.8,\"medical\":311.85,\"birth\":37.8675,\"lose_job\":12.128,\"injury\":3.79,\"major\":19.305,\"disabled\":82.1}",
- "p_data": "{\"pension\":253.6,\"medical\":89.1,\"birth\":0.0,\"lose_job\":3.79,\"injury\":0.0,\"major\":0.0,\"disabled\":0.0}",
- "pre_cost": 0.0,
- "gen_time": 1525968000000,
- "gen_note": "采用配置的各项最低基数;未找到操作月(201802)的社保有效数据,作增员。"
- },
- "shebao_ent": {
- "medical": 311.85,
- "major": 19.305,
- "lose_job": 12.128,
- "pension": 443.8,
- "birth": 37.8675,
- "disabled": 82.1,
- "injury": 3.79
- },
- "shebao_p": {
- "medical": 89.1,
- "major": 0.0,
- "lose_job": 3.79,
- "pension": 253.6,
- "birth": 0.0,
- "disabled": 0.0,
- "injury": 0.0
- },
- "fund": {
- "summary_id": 8,
- "eid": 53,
- "wxyj": 2,
- "radix_type": 1,
- "radix": 15000.0,
- "total_fee": 2550.0,
- "ent_amount": 750.0,
- "p_amount": 1800.0,
- "charge": 69.0,
- "card_charge": 0.0,
- "ent_data": "5.0",
- "p_data": "12.0",
- "pre_cost": 0.0,
- "gen_time": 1525968000000,
- "gen_note": "未找到操作月(201802)的公积金有效数据,作增员。"
- }
- },
- {
- "wxyj": {
- "id": 54,
- "summary_id": 8,
- "ent_id": 1,
- "city_code": 1001,
- "opt_month": 201803,
- "com_userid": 11,
- "param_name": "",
- "total_fee": 2550.0,
- "ent_total": 750.0,
- "p_total": 1800.0,
- "shebao_month": 0,
- "shebao_normal": 0,
- "fund_month": 201803,
- "fund_normal": 1,
- "shebao_status": 0,
- "fund_status": 31,
- "gen_time": 1525968000000,
- "update_time": 1526007314000,
- "shebao_note": "",
- "fund_note": ""
- },
- "comUser": {
- "user_id": 11,
- "company_id": 1,
- "user_name": "赖先",
- "id_card": "123456789012345670",
- "nation": "汉",
- "phone": "12345678901",
- "gender": 1,
- "bank_card": "",
- "bank_name": "",
- "status": 1,
- "gen_time": 1526007314000
- },
- "city_name": "广州",
- "shebao": {
- "summary_id": 8,
- "eid": 53,
- "wxyj": 1,
- "radix_type": 2,
- "radix": 1895.0,
- "total_fee": 1257.33,
- "ent_amount": 910.84,
- "p_amount": 346.49,
- "charge": 69.0,
- "card_charge": 0.0,
- "ent_data": "{\"pension\":443.8,\"medical\":311.85,\"birth\":37.8675,\"lose_job\":12.128,\"injury\":3.79,\"major\":19.305,\"disabled\":82.1}",
- "p_data": "{\"pension\":253.6,\"medical\":89.1,\"birth\":0.0,\"lose_job\":3.79,\"injury\":0.0,\"major\":0.0,\"disabled\":0.0}",
- "pre_cost": 0.0,
- "gen_time": 1525968000000,
- "gen_note": "采用配置的各项最低基数;未找到操作月(201802)的社保有效数据,作增员。"
- },
- "shebao_ent": {
- "medical": 311.85,
- "major": 19.305,
- "lose_job": 12.128,
- "pension": 443.8,
- "birth": 37.8675,
- "disabled": 82.1,
- "injury": 3.79
- },
- "shebao_p": {
- "medical": 89.1,
- "major": 0.0,
- "lose_job": 3.79,
- "pension": 253.6,
- "birth": 0.0,
- "disabled": 0.0,
- "injury": 0.0
- },
- "fund": {
- "summary_id": 8,
- "eid": 54,
- "wxyj": 2,
- "radix_type": 1,
- "radix": 15000.0,
- "total_fee": 2550.0,
- "ent_amount": 750.0,
- "p_amount": 1800.0,
- "charge": 69.0,
- "card_charge": 0.0,
- "ent_data": "5.0",
- "p_data": "12.0",
- "pre_cost": 0.0,
- "gen_time": 1525968000000,
- "gen_note": "未找到操作月(201802)的公积金有效数据,作增员。"
- }
- },
- {
- "wxyj": {
- "id": 57,
- "summary_id": 11,
- "ent_id": 1,
- "city_code": 1014,
- "opt_month": 201805,
- "com_userid": 2,
- "param_name": "",
- "total_fee": 3000.0,
- "ent_total": 1200.0,
- "p_total": 1800.0,
- "shebao_month": 0,
- "shebao_normal": 0,
- "fund_month": 201805,
- "fund_normal": 1,
- "shebao_status": 0,
- "fund_status": 31,
- "gen_time": 1525968000000,
- "update_time": 1526011210000,
- "shebao_note": "",
- "fund_note": ""
- },
- "comUser": {
- "user_id": 2,
- "company_id": 1,
- "user_name": "刘小",
- "id_card": "123456789012345681",
- "nation": "汉",
- "phone": "12345678901",
- "gender": 0,
- "bank_card": "",
- "bank_name": "",
- "status": 1,
- "gen_time": 1526011210000
- },
- "city_name": "深圳",
- "shebao": {
- "summary_id": 8,
- "eid": 53,
- "wxyj": 1,
- "radix_type": 2,
- "radix": 1895.0,
- "total_fee": 1257.33,
- "ent_amount": 910.84,
- "p_amount": 346.49,
- "charge": 69.0,
- "card_charge": 0.0,
- "ent_data": "{\"pension\":443.8,\"medical\":311.85,\"birth\":37.8675,\"lose_job\":12.128,\"injury\":3.79,\"major\":19.305,\"disabled\":82.1}",
- "p_data": "{\"pension\":253.6,\"medical\":89.1,\"birth\":0.0,\"lose_job\":3.79,\"injury\":0.0,\"major\":0.0,\"disabled\":0.0}",
- "pre_cost": 0.0,
- "gen_time": 1525968000000,
- "gen_note": "采用配置的各项最低基数;未找到操作月(201802)的社保有效数据,作增员。"
- },
- "shebao_ent": {
- "medical": 311.85,
- "major": 19.305,
- "lose_job": 12.128,
- "pension": 443.8,
- "birth": 37.8675,
- "disabled": 82.1,
- "injury": 3.79
- },
- "shebao_p": {
- "medical": 89.1,
- "major": 0.0,
- "lose_job": 3.79,
- "pension": 253.6,
- "birth": 0.0,
- "disabled": 0.0,
- "injury": 0.0
- },
- "fund": {
- "summary_id": 11,
- "eid": 57,
- "wxyj": 2,
- "radix_type": 1,
- "radix": 15000.0,
- "total_fee": 3000.0,
- "ent_amount": 1200.0,
- "p_amount": 1800.0,
- "charge": 69.0,
- "card_charge": 0.0,
- "ent_data": "8.0",
- "p_data": "12.0",
- "pre_cost": 0.0,
- "gen_time": 1525968000000,
- "gen_note": "未找到操作月(201804)的公积金有效数据,作增员。"
- }
- },
- {
- "wxyj": {
- "id": 58,
- "summary_id": 11,
- "ent_id": 1,
- "city_code": 1014,
- "opt_month": 201805,
- "com_userid": 3,
- "param_name": "",
- "total_fee": 3600.0,
- "ent_total": 1800.0,
- "p_total": 1800.0,
- "shebao_month": 0,
- "shebao_normal": 0,
- "fund_month": 201805,
- "fund_normal": 1,
- "shebao_status": 0,
- "fund_status": 31,
- "gen_time": 1525968000000,
- "update_time": 1526011210000,
- "shebao_note": "",
- "fund_note": ""
- },
- "comUser": {
- "user_id": 3,
- "company_id": 1,
- "user_name": "邓小姐",
- "id_card": "123456789012345660",
- "nation": "汉",
- "phone": "12345678901",
- "gender": 0,
- "bank_card": "",
- "bank_name": "",
- "status": 1,
- "gen_time": 1526011210000
- },
- "city_name": "深圳",
- "shebao": {
- "summary_id": 8,
- "eid": 53,
- "wxyj": 1,
- "radix_type": 2,
- "radix": 1895.0,
- "total_fee": 1257.33,
- "ent_amount": 910.84,
- "p_amount": 346.49,
- "charge": 69.0,
- "card_charge": 0.0,
- "ent_data": "{\"pension\":443.8,\"medical\":311.85,\"birth\":37.8675,\"lose_job\":12.128,\"injury\":3.79,\"major\":19.305,\"disabled\":82.1}",
- "p_data": "{\"pension\":253.6,\"medical\":89.1,\"birth\":0.0,\"lose_job\":3.79,\"injury\":0.0,\"major\":0.0,\"disabled\":0.0}",
- "pre_cost": 0.0,
- "gen_time": 1525968000000,
- "gen_note": "采用配置的各项最低基数;未找到操作月(201802)的社保有效数据,作增员。"
- },
- "shebao_ent": {
- "medical": 311.85,
- "major": 19.305,
- "lose_job": 12.128,
- "pension": 443.8,
- "birth": 37.8675,
- "disabled": 82.1,
- "injury": 3.79
- },
- "shebao_p": {
- "medical": 89.1,
- "major": 0.0,
- "lose_job": 3.79,
- "pension": 253.6,
- "birth": 0.0,
- "disabled": 0.0,
- "injury": 0.0
- },
- "fund": {
- "summary_id": 11,
- "eid": 58,
- "wxyj": 2,
- "radix_type": 1,
- "radix": 15000.0,
- "total_fee": 3600.0,
- "ent_amount": 1800.0,
- "p_amount": 1800.0,
- "charge": 69.0,
- "card_charge": 0.0,
- "ent_data": "12.0",
- "p_data": "12.0",
- "pre_cost": 0.0,
- "gen_time": 1525968000000,
- "gen_note": "未找到操作月(201804)的公积金有效数据,作增员。"
- }
- },
- {
- "wxyj": {
- "id": 59,
- "summary_id": 11,
- "ent_id": 1,
- "city_code": 1014,
- "opt_month": 201805,
- "com_userid": 12,
- "param_name": "",
- "total_fee": 3000.0,
- "ent_total": 1200.0,
- "p_total": 1800.0,
- "shebao_month": 0,
- "shebao_normal": 0,
- "fund_month": 201805,
- "fund_normal": 1,
- "shebao_status": 0,
- "fund_status": 31,
- "gen_time": 1525968000000,
- "update_time": 1526011210000,
- "shebao_note": "",
- "fund_note": ""
- },
- "comUser": {
- "user_id": 12,
- "company_id": 1,
- "user_name": "刘小",
- "id_card": "123456789012345610",
- "nation": "汉",
- "phone": "12345678901",
- "gender": 1,
- "bank_card": "",
- "bank_name": "",
- "status": 1,
- "gen_time": 1526011210000
- },
- "city_name": "深圳",
- "shebao": {
- "summary_id": 8,
- "eid": 53,
- "wxyj": 1,
- "radix_type": 2,
- "radix": 1895.0,
- "total_fee": 1257.33,
- "ent_amount": 910.84,
- "p_amount": 346.49,
- "charge": 69.0,
- "card_charge": 0.0,
- "ent_data": "{\"pension\":443.8,\"medical\":311.85,\"birth\":37.8675,\"lose_job\":12.128,\"injury\":3.79,\"major\":19.305,\"disabled\":82.1}",
- "p_data": "{\"pension\":253.6,\"medical\":89.1,\"birth\":0.0,\"lose_job\":3.79,\"injury\":0.0,\"major\":0.0,\"disabled\":0.0}",
- "pre_cost": 0.0,
- "gen_time": 1525968000000,
- "gen_note": "采用配置的各项最低基数;未找到操作月(201802)的社保有效数据,作增员。"
- },
- "shebao_ent": {
- "medical": 311.85,
- "major": 19.305,
- "lose_job": 12.128,
- "pension": 443.8,
- "birth": 37.8675,
- "disabled": 82.1,
- "injury": 3.79
- },
- "shebao_p": {
- "medical": 89.1,
- "major": 0.0,
- "lose_job": 3.79,
- "pension": 253.6,
- "birth": 0.0,
- "disabled": 0.0,
- "injury": 0.0
- },
- "fund": {
- "summary_id": 11,
- "eid": 59,
- "wxyj": 2,
- "radix_type": 1,
- "radix": 15000.0,
- "total_fee": 3000.0,
- "ent_amount": 1200.0,
- "p_amount": 1800.0,
- "charge": 69.0,
- "card_charge": 0.0,
- "ent_data": "8.0",
- "p_data": "12.0",
- "pre_cost": 0.0,
- "gen_time": 1525968000000,
- "gen_note": "未找到操作月(201804)的公积金有效数据,作增员。"
- }
- }],
- "inc_count": 5,
- "normal_count": 0,
- "dec_count": 0
- },
- "page": {
- "size": 20,
- "first": 1,
- "curr": 1,
- "last": 1,
- "total": 5,
- "start": 0,
- "finish": 5
- }
- }
- }
- </code></pre>
- <hr>
- <h1>3 计算生成的减员数据</h1>
- <h3>3.1 请求数据</h3>
- <h5>URI</h5>
- <pre><code>/he/shebao/list/task/dec/data POST
- </code></pre>
- <h5>参数</h5>
- <table><thead>
- <tr>
- <th align="left">字段</th>
- <th align="left">类型</th>
- <th align="left">Length</th>
- <th align="left">必须有值</th>
- <th align="left">必传</th>
- <th align="left">描述</th>
- </tr>
- </thead><tbody>
- <tr>
- <td align="left"><a href="common.html#page">curr</a></td>
- <td align="left">int</td>
- <td align="left">值1 ~ 1000</td>
- <td align="left"></td>
- <td align="left"></td>
- <td align="left">当前页码</td>
- </tr>
- <tr>
- <td align="left">ids</td>
- <td align="left">string</td>
- <td align="left"></td>
- <td align="left">Y</td>
- <td align="left">Y</td>
- <td align="left">多个主数据ID以逗号间隔</td>
- </tr>
- </tbody></table>
- <h3>3.2 响应</h3>
- <p>数据最外层结构是Map.</p>
- <h5>data 字段</h5>
- <table><thead>
- <tr>
- <th align="left">字段</th>
- <th align="left">类型</th>
- <th align="left">字段名称</th>
- </tr>
- </thead><tbody>
- <tr>
- <td align="left">datas</td>
- <td align="left">List</td>
- <td align="left">减员的列表数据</td>
- </tr>
- <tr>
- <td align="left"><a href="common.html#page">page</a></td>
- <td align="left">Object</td>
- <td align="left">分页数据</td>
- </tr>
- </tbody></table>
- <div id="datas3"></div>
- <h5>data.datas 字段</h5>
- <table><thead>
- <tr>
- <th align="left">字段</th>
- <th align="left">类型</th>
- <th align="left">字段名称</th>
- </tr>
- </thead><tbody>
- <tr>
- <td align="left"><a href="t/wxyj.html#TWxyjEmployeeDec">dec</a></td>
- <td align="left">TWxyjEmployeeDec</td>
- <td align="left">减员的列表数据</td>
- </tr>
- <tr>
- <td align="left"><a href="t/wxyj.html#TCompanyUser">comUser</a></td>
- <td align="left">TCompanyUser</td>
- <td align="left">员工基本数据</td>
- </tr>
- <tr>
- <td align="left">city_name</td>
- <td align="left">string</td>
- <td align="left">城市名称</td>
- </tr>
- </tbody></table>
- <h5>响应数据示例</h5>
- <pre><code>暂时没有, 后期有数据时补上.
- </code></pre>
- <hr>
- <h1>4 导出计算生成的数据</h1>
- <ul>
- <li>计算结果页面 [导出结果]调用的接口.</li>
- </ul>
- <h3>4.1 请求</h3>
- <h5>URI</h5>
- <pre><code>/he/shebao/export/task_datas POST
- </code></pre>
- <h5>请求参数</h5>
- <pre><code>String summary_ids 主数据标识, 多个以逗号间隔.
- </code></pre>
- <h3>4.2 响应</h3>
- <h5>有异常或无数据</h5>
- <p>返回JSON格式的异常信息数据.</p>
- <h5>成功</h5>
- <p>响应文件内容给客户端.</p>
- <hr>
- <h1>5 设置成存档或代缴</h1>
- <ul>
- <li>企业用户未开通代缴, 些操作只是存档</li>
- <li>企业用户开通了代缴, 此操作存档加设置成代缴.</li>
- </ul>
- <h3>5.1 请求处理</h3>
- <h5>URI</h5>
- <pre><code>/he/shebao/setting/in_file_proxy POST
- </code></pre>
- <h5>参数</h5>
- <pre><code>String summary_ids // 多个主数据ID以逗号间隔.
- </code></pre>
- <h3>5.2 响应</h3>
- <p>返回各个主数据的处理信息, 结构是 List .</p>
- <h5>状态码</h5>
- <pre><code>200 处理成功, 有各主数据的处理情况.
- 600 参数不合要求.
- </code></pre>
- <h5>响应数据示例</h5>
- <pre><code>{
- "data": ["广州 成功设置为存档",
- "深圳 设置为代缴"],
- "msg": "",
- "code": 200
- }
- </code></pre>
- <hr>
- <h1 id="added_task"> 6 提交计算生成补缴数据</h1>
- <ul>
- <li>需要提交一个核算月份, 此月份必须是当前的核算月份.</li>
- <li>补缴月份必须满足配置上的月数限制. 当前购买月与补缴月份的月数.</li>
- </ul>
- <h3>6.1 请求处理</h3>
- <h5>URI</h5>
- <pre><code>/he/shebao_plan/setting/task/added POST
- </code></pre>
- <h5>参数</h5>
- <pre><code>Integer city_code, // 城市代码
- Integer opt_month, // 核算月份
- Integer shebao_month, // 社保补缴月份
- Integer fund_month, // 公积金补缴月份
- String user_ids // 多个员工的ID以逗号间隔.
- </code></pre>
- <ul>
- <li>不补缴公积金的话, 公积金月份值传0 (fund_month=0). 社保亦如此.</li>
- </ul>
- <h3>6.2 响应</h3>
- <p>返回计算成功与否.</p>
- <h5>状态码</h5>
- <pre><code>200 处理成功.
- 500 计算过程中有异常, 需要提示前端.
- 600 参数不合要求.
- </code></pre>
- <h5>响应数据示例</h5>
- <ul>
- <li><p>未成功</p>
- <pre><code>{
- "data": "补缴月份超出了月数限制",
- "msg": "",
- "code": 600
- }
- </code></pre></li>
- <li><p>成功</p>
- <pre><code>{
- "data": null,
- "msg": "",
- "code": 200
- }
- </code></pre></li>
- </ul>
- <hr>
- <h1>7 用户历史补缴列表</h1>
- <p>返回指定用户的补缴列表</p>
- <h3>7.1 请求数据</h3>
- <h5>URI</h5>
- <pre><code>shebao_plan/list/added POST
- </code></pre>
- <h5>参数</h5>
- <pre><code>Integer user_id // 员工的标识.
- </code></pre>
- <h3>7.2 响应数据</h3>
- <h5>data字段</h5>
- <pre><code>List<UserAddedStatusVO>
- String opt_month; // 核算月份
- String month; // 社保 公积金 的补缴月份
- String wxyj; // 社保 公积金
- int status; // 状态 0: 失败 1:成功.
- </code></pre>
- <h5>状态码</h5>
- <pre><code>200 处理成功.
- 600 参数不合要求.
- </code></pre>
- <h5>响应数据示例</h5>
- <ul>
- <li><p>未成功</p>
- <pre><code>{
- "data": "无效的员工标识",
- "msg": "",
- "code": 600
- }
- </code></pre></li>
- <li><p>成功</p>
- <pre><code>{
- "data": [],
- "msg": "",
- "code": 200
- }
- </code></pre></li>
- </ul>
- <hr>
- <script src="md.js"></script>
- </body>
- </html>
|