Professional Documents
Culture Documents
Job Service
Job Service
Model: Job.java
Repository: JobRepository.java
Service: JobServiceImpl.java (interface JobService.java)
Controller: JobController.java
Example URLs:
http://javadev1.yrcw.com:5069/api/v1/job/emplid/0001000
Update URL: (effDate and effsequence are from an existing database row. New data is in POST data.
This includes new effDate andor effsequence)
http://javadev1.yrcw.com:5069/api/v1/job/emplid/0001000/effDate/02-10-1989/effsequence/0
company COMPANY No No
paygroup PAYGROUP No No
emplType EMPL_TYPE No No
holidaySchedule HOLIDAY_SCHEDULE No No
stdHours STD_HOURS No No
officerCd OFFICER_CD No No
emplClass EMPL_CLASS No No
salAdminPlan SAL_ADMIN_PLAN No No
grade GRADE No No
gradeEntryDt GRADE_ENTRY_DT Yes No
step STEP No No
stepEntryDt STEP_ENTRY_DT Yes No
glPayType GL_PAY_TYPE No No
compFrequency COMP_FREQUENCY No No
comprate COMPRATE No No
changeAmt CHANGE_AMT No No
changePct CHANGE_PCT No No
annualRt ANNUAL_RT No No
monthlyRt MONTHLY_RT No No
hourlyRt HOURLY_RT No No
ANNL_BENEF_BASE_RT No No
annlBenefBaseRt
shiftRt SHIFT_RT No No
shiftFactor SHIFT_FACTOR No No
currencyCd CURRENCY_CD No No
setidDept SETID_DEPT No No
setidJobcode SETID_JOBCODE No No
setidLocation SETID_LOCATION No No
flsaStatus FLSA_STATUS No No
eeoClass EEO_CLASS No No
unionCd UNION_CD No No
bargUnit BARG_UNIT No No
unionSeniorityDt UNION_SENIORITY_DT Yes No
reportsTo REPORTS_TO No No
emplStatusDesc PSFT88.EESTAT_XLAT_VW
deptidDesc select dt.setid,dt.deptid,dt.descr
from ps_dept_tbl dt
where eff_status = 'A'
and effdt = (select max(effdt) from
ps_dept_tbl x
where x.eff_status = 'A'
and x.setid = dt.setid
and x.deptid = dt.deptid
)
jobcodeDesc select jt.setid, jt.jobcode, jt.descr
from ps_jobcode_tbl jt
Job Services
on dept.setid = j.SETID_DEPT
and dept.deptid = j.DEPTID
left outer join (select jt.setid, jt.jobcode, jt.descr
from ps_jobcode_tbl jt
where jt.eff_status = 'A'
and effdt = (select max(effdt) from ps_jobcode_tbl x
where x.eff_status = 'A'
and x.setid = jt.setid
and x.jobcode = jt.jobcode
)
) jobc
on jobc.setid = j.SETID_JOBCODE
and jobc.jobcode = j.JOBCODE