{ "getId" : {"uri":"/jaxrs/uuid/random"}, //根据人员获取部门 "listDepartmentByPerson": {"uri": "/jaxrs/department/list/person/{name}"}, //根据人员获取所在公司 "listCompanyByPerson": {"uri": "/jaxrs/company/list/person/{name}"}, //获取公司的一级部门 "listDepartmentByCompany": {"uri": "/jaxrs/department/list/company/{companyName}/top"}, //获取人员属性 "getPersonAttribute": {"uri": "/jaxrs/personattribute/{name}/person/{personName}"}, //根据身份获取人员 "getPersonByIdentity": {"uri": "/jaxrs/person/identity/{name}"}, //获取部门属性 "getDepartmentAttribute" : {"uri": "/jaxrs/departmentattribute/{name}/department/{departmentName}"}, //获取部门职位 "getDepartmentDuty" : {"uri": "/jaxrs/departmentduty/{name}/department/{departmentName}"}, //"getDocument" : {"uri" : "/jaxrs/document/{id}"}, "getHoliday" : {"uri":"/jaxrs/attendanceworkdayconfig/{id}"}, "listHolidayAll": {"uri" : "/jaxrs/attendanceworkdayconfig/list/all"}, /*{'q_Year':'2016','q_Name':'五一劳动节','q_Month':'03'}*/ "listHolidayFilter" : {"uri" : "/jaxrs/attendanceworkdayconfig/filter", "method": "PUT"}, "saveHoliday": {"uri" : "/jaxrs/attendanceworkdayconfig", "method": "POST"}, "deleteHoliday" : {"uri":"/jaxrs/attendanceworkdayconfig/{id}","method": "DELETE"}, "getSelfHoliday" : {"uri":"/jaxrs/attendanceselfholiday/{id}"}, "listSelfHoliday": {"uri" : "/jaxrs/attendanceselfholiday/list/all"}, "saveSelfHoliday": {"uri" : "/jaxrs/attendanceselfholiday", "method": "POST"}, "deleteSelfHoliday" : {"uri":"/jaxrs/attendanceselfholiday/{id}","method": "DELETE"}, "exportSelfHoliday" : {"uri":"/servlet/export/selfholiday/{startdate}/{enddate}/stream", "method": "GET"}, //private String q_empName \ private String q_companyName; \ private String q_departmentName; "listSelfHolidayFilterNext" : {"uri" : "/jaxrs/attendanceselfholiday/filter/list/{id}/next/{count}", "method": "PUT"}, "getSchedule" : {"uri":"/jaxrs/attendanceschedulesetting/{id}"}, "listSchedule": {"uri" : "/jaxrs/attendanceschedulesetting/list/all"}, "saveSchedule": {"uri" : "/jaxrs/attendanceschedulesetting", "method": "POST"}, "deleteSchedule" : {"uri":"/jaxrs/attendanceschedulesetting/{id}","method": "DELETE"}, "listScheduleByDepartment" : {"uri":"/jaxrs/attendanceschedulesetting/list/department/{name}"}, "listScheduleByCompany" : {"uri":"/jaxrs/attendanceschedulesetting/list/company/{name}"}, "getCycle" : {"uri":"/jaxrs/attendancestatisticalcycle/{id}"}, "saveCycle": {"uri" : "/jaxrs/attendancestatisticalcycle", "method": "POST"}, "deleteCycle" : {"uri":"/jaxrs/attendancestatisticalcycle/{id}","method": "DELETE"}, "listCycle" : {"uri":"/jaxrs/attendancestatisticalcycle/list/all"}, "getCyclePerson" : {"uri":"/jaxrs/attendancestatisticalcycle/cycleDetail/{year}/{month}"}, "getPermission" : {"uri":"/jaxrs/attendanceadmin/{id}"}, "listPermission": {"uri" : "/jaxrs/attendanceadmin/list/all"}, "savePermission": {"uri" : "/jaxrs/attendanceadmin", "method": "POST"}, "deletePermission" : {"uri":"/jaxrs/attendanceadmin/{id}","method": "DELETE"}, "uploadAttachment": {"uri": "/servlet/upload", "method": "POST", "enctype": "formData"}, //"replaceAttachment": {"uri": "/servlet/update/{id}/document/{documentid}", "method": "POST", "enctype": "formData"}, //"getAttachmentData": {"uri": "/servlet/download/{id}/document/{documentid}", "method": "GET"}, "getAttachmentStream": {"uri": "/servlet/download/{id}/stream", "method": "GET"}, "listAttachmentInfo" : {"uri" : "/jaxrs/attendanceimportfileinfo/list/all"}, "deleteAttachment" : {"uri":"/jaxrs/attendanceimportfileinfo/{id}","method": "DELETE"}, "importAttachment" : {"uri":"/jaxrs/fileimport/import/{file_id}"}, "checkAttachment" : {"uri":"/jaxrs/fileimport/check/{file_id}"}, "exportAbnormalAttachment" : {"uri":"/servlet/export/abnormaldetails/{year}/{month}/stream", "method": "GET"}, "listDetail" : {"uri":"/jaxrs/attendancedetail/list/all"}, "getDetail" : {"uri":"/jaxrs/attendancedetail/{id}"}, "deleteDetail" : {"uri":"/jaxrs/attendancedetail/{id}","method": "DELETE"}, "listSetting" : {"uri":"/jaxrs/attendancesetting/list/all"}, "getSetting" : {"uri":"/jaxrs/attendancesetting/{id}"}, "saveSetting" : {"uri":"/jaxrs/attendancesetting", "method": "POST"}, "deleteSetting" : {"uri":"/jaxrs/attendancesetting/{id}","method": "DELETE"}, "getSettingCode" : {"uri":"/jaxrs/attendancesetting/code/{code}"}, "listPersonSetting" : {"uri":"/jaxrs/attendanceemployeeconfig/list/all"}, "getPersonSetting" : {"uri":"/jaxrs/attendanceemployeeconfig/{id}"}, "savePersonSetting" : {"uri":"/jaxrs/attendanceemployeeconfig", "method": "POST"}, "deletePersonSetting" : {"uri":"/jaxrs/attendanceemployeeconfig/{id}","method": "DELETE"}, /* 获取指定年月的打卡数据列表 Data:{'q_empName':'林玲','q_year':'2016','q_month':'03'} 备注: 1、q_empName如果不传则取所有用户的数据 2、如果未指定年份或者月份,则获取数据库里最近一个月份的数据 */ "listDetailFilter" : {"uri" : "/jaxrs/attendancedetail/filter/list", "method": "PUT"}, /*8、查询打卡数据 下一页(分页). URL:x_attendance_assemble_control/jaxrs/attendancedetail/filter/list/{id}/next/{count}    Method: GET    Data:{'q_companyName':'兰德纵横','q_year':'2016','q_month':'03','q_date':''2016-03-31',order':'DESC','key':'recordDateString'} 备注:key 排序列,q_companyName|q_empName|q_departmentName */ "listDetailFilterNext" : {"uri" : "/jaxrs/attendancedetail/filter/list/{id}/next/{count}", "method": "PUT"}, /* 9、查询打卡数据 上一页(分页). URL:x_attendance_assemble_control/jaxrs/attendancedetail/filter/list/{id}/prev/{count}    Method: GET    Data:{'q_companyName':'兰德纵横','q_year':'2016','q_month':'03','q_date':''2016-03-31','order':'DESC','key':'recordDateString'} 备注:key 排序列,q_companyName|q_empName|q_departmentName */ "listDetailFilterPrev" : {"uri" : "jaxrs/attendancedetail/filter/list/{id}/prev/{count}", "method": "PUT"}, /* Data:{'q_empName':'林玲','q_year':'2016','q_month':'03'} 备注: 1、q_empName如果不传则取当前登录用户的数据 2、如果未指定年份或者月份,则获取数据库里最近一个月份的数据 */ "listDetailFilterUser" : {"uri" : "/jaxrs/attendancedetail/filter/list/user", "method": "PUT"}, /*Data:{'q_departmentName':'开发部','q_year':'2016','q_month':'03'} 备注:如果未指定年份或者月份,则获取数据库里最近一个月份的数据*/ "listDepartmentDetailFilter" : {"uri" : "/jaxrs/attendancedetail/filter/list/department", "method": "PUT"}, /*Data:{'q_companyName':'兰德纵横','q_year':'2016','q_month':'03'} 备注:如果未指定年份或者月份,则获取数据库里最近一个月份的数据*/ "listCompanyDetailFilter" : {"uri" : "/jaxrs/attendancedetail/filter/list/company", "method": "PUT"}, /*Data:String file_id 备注:file_id为指定的导入文件ID,在导入过程,导入文件的ID会被记录到打卡记录的batchName属性中*/ "listDetailByAttachment" : {"uri" : "/jaxrs/attendancedetail/list/{file_id}"}, "checkDetail" : {"uri" :"/jaxrs/attendancedetail/checkDetailWithPersonByCycle/{cycleYear}/{cycleMonth}"}, //{'startDate':'2016-03-12','endDate':'2016-03-29'} "analyseDetail" : {"uri" :"/jaxrs/attendancedetail/analyse/{startDate}/{endDate}"}, //统计考勤记录,如果year或者month为(0),那么会统计当年所有月份的数据 "staticDetail" : {"uri" : "/jaxrs/statistic/do/{year}/{month}"}, "staticAllDetail" : {"uri" : "/jaxrs/statistic/do"}, //每月个人考勤统计 Method: Servlet - GET Data: String name, String year, String month "listStaticMonthPerson" : {"uri" :"/jaxrs/statisticshow/person/{name}/{year}/{month}"}, // 查询指定月份里每天部门考勤统计 Method: Servlet - GET Data: String name, String year, String month "listStaticDayDepartment" : {"uri" :"/jaxrs/statisticshow/department/day/{name}/{year}/{month}"}, // 查询指定日期部门考勤统计 Method: Servlet - GET Data: String name, String year, String month "listStaticDateDepartment" : {"uri" :"/jaxrs/statisticshow/department/day/{name}/{date}"}, //每月部门考勤统计(如果查全年,month可以以(0)代替) GET Data: String name, String year, String month "listStaticMonthDepartment" : {"uri" :"/jaxrs/statisticshow/department/{name}/{year}/{month}"}, //每月部门及子部门考勤统计(如果查全年,month可以以(0)代替) GET Data: String name, String year, String month "listStaticMonthDepartmentSum" : {"uri" :"/jaxrs/statisticshow/department/sum/{name}/{year}/{month}"}, //指定月份里每天公司考勤统计 Method: Servlet - GET Data: String name, String year, String month "listStaticDayCompany" : {"uri" :"/jaxrs/statisticshow/company/day/{name}/{year}/{month}"}, //每月公司考勤统计(如果查全年,month可以以(0)代替) - GET Data: String name, String year, String month "listStaticMonthCompany" : {"uri" :"/jaxrs/statisticshow/company/{name}/{year}/{month}"}, //查询部门里所有人员的月统计 "listStaticMonthPersonByDepartment" : {"uri":"/jaxrs/statisticshow/persons/department/{name}/{year}/{month}"}, //查询部门及子部门的所有人员月统计 "listStaticMonthPersonByDepartmentNested" : {"uri":"/jaxrs/statisticshow/persons/department/subnested/{name}/{year}/{month}"}, //根据公司查询公司下所有部门的统计数据信息: "listDepartmentDateStaticByCompany" : {"uri":"/jaxrs/statisticshow/department/day/company/{name}/{date}"}, //根据公司查询公司下所有部门的统计数据信息: "listDepartmentMonthStaticByCompany" : {"uri":"/jaxrs/statisticshow/department/company/{name}/{year}/{month}"}, //根据部门查询部门下所有员工的统计数据信息: "listPersonMonthStaticByDepartment" : {"uri":"/jaxrs/statisticshow/persons/department/subnested/{name}/{year}/{month}"}, //发起申诉 { 'appealReason':'', 'appealDescription:'', 'processPerson1':'', 'processPerson2':''} "createAppeal" : {"uri":"/jaxrs/attendanceappealInfo/appeal/{detailId}","method" : "PUT"}, //第一次审批 { 'status':'', 'opinion1':''} 审批状态(status):0-待处理,1-审批通过,-1-审批不能过,2-需要下一次审批 "processAppeal" : {"uri":"/jaxrs/attendanceappealInfo/process/{id}","method" :"PUT"}, //第二次审批 { 'status':'', 'opinion2':''} 审批状态(status):0-待处理,1-审批通过,-1-审批不能过,2-需要下一次审批 "process2Appeal" : {"uri":"/jaxrs/attendanceappealInfo/process2/{id}","method" :"PUT"}, //获取申诉记录 "getAppeal" :{"uri":"/jaxrs/attendanceappealInfo/{id}"}, /*分页查询 detailId: 打卡记录ID empName: 员工姓名,打卡和申诉应该是同一个人 departmentName: 打卡员工所在部门 companyName: 打卡员工所在公司 yearString: 打卡年份 monthString: 打卡月份 status: 审批状态:0-待处理,1-审批通过,-1-审批不能过,2-需要下一次审批 appealReason: 申诉理由 processPerson1: 第一审批人 processPerson2: 第二审批人*/ "listAppealFilterNext": {"uri" : "/jaxrs/attendanceappealInfo/filter/list/{id}/next/{count}","method" :"PUT"}, "listAppealFilterPrev": {"uri" : "/jaxrs/attendanceappealInfo/filter/list/{id}/prev/{count}","method" :"PUT"}, "deleteAppeal" : {"uri":"/jaxrs/attendanceappealInfo/{id}","method": "DELETE"}, "listWorkplace" : {"uri":"/jaxrs/workplace/list/all"}, "getWorkplace" : {"uri":"jaxrs/workplace/{id}"}, "saveWorkplace" : {"uri":"/jaxrs/workplace", "method": "POST"}, "deleteWorkplace" : {"uri":"/jaxrs/workplace/{id}","method": "DELETE"} }