Commit d169a485 by 傅伟强-富德

Update sql

1 parent df412e3a
Showing with 16 additions and 0 deletions
......@@ -6,3 +6,18 @@ update GRAS_DEPT_SERVICER
where
DEPT_NO =#{deptNo,jdbcType=VARCHAR}
and IS_VALID='Y'
select gbe.bank_code,di.dept_name,si.emp_no,si.emp_name,bi.branch_code,bi.branch_name,gbe.PK_SERIAL
from GRAS_BANK_EMP gbe,
staff_info si,
department_info di,
branch_info bi
where
gbe.emp_no=si.emp_no
and si.dept_no=di.dept_no
and di.branch_code=bi.branch_code
and gbe.END_DATE is null
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!