|
|
|
@ -14,17 +14,21 @@
|
|
|
|
<select id="selectCustomVoPage" resultType="org.dromara.oa.erp.domain.vo.ErpTimesheetInfoVo">
|
|
|
|
<select id="selectCustomVoPage" resultType="org.dromara.oa.erp.domain.vo.ErpTimesheetInfoVo">
|
|
|
|
SELECT
|
|
|
|
SELECT
|
|
|
|
t.*,
|
|
|
|
t.*,
|
|
|
|
u.nick_name
|
|
|
|
u.nick_name,
|
|
|
|
|
|
|
|
d.dept_name
|
|
|
|
FROM erp_timesheet_info t
|
|
|
|
FROM erp_timesheet_info t
|
|
|
|
LEFT JOIN sys_user u ON t.user_id = u.user_id
|
|
|
|
LEFT JOIN sys_user u ON t.user_id = u.user_id
|
|
|
|
|
|
|
|
LEFT JOIN sys_dept d ON t.dept_id = d.dept_id
|
|
|
|
${ew.customSqlSegment}
|
|
|
|
${ew.customSqlSegment}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
<select id="selectCustomVoList" resultType="org.dromara.oa.erp.domain.vo.ErpTimesheetInfoVo">
|
|
|
|
<select id="selectCustomVoList" resultType="org.dromara.oa.erp.domain.vo.ErpTimesheetInfoVo">
|
|
|
|
SELECT t.*,
|
|
|
|
SELECT t.*,
|
|
|
|
u.nick_name
|
|
|
|
u.nick_name,
|
|
|
|
|
|
|
|
d.dept_name
|
|
|
|
FROM erp_timesheet_info t
|
|
|
|
FROM erp_timesheet_info t
|
|
|
|
LEFT JOIN sys_user u ON t.user_id = u.user_id
|
|
|
|
LEFT JOIN sys_user u ON t.user_id = u.user_id
|
|
|
|
|
|
|
|
LEFT JOIN sys_dept d ON t.dept_id = d.dept_id
|
|
|
|
${ew.customSqlSegment}
|
|
|
|
${ew.customSqlSegment}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
|
|
|