|
|
|
@ -316,4 +316,14 @@
|
|
|
|
|
AND delete_type = 0
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="customSelect" resultMap="BaseResultMap" databaseId="postgresql">
|
|
|
|
|
select
|
|
|
|
|
<include refid="baseColumns"/>
|
|
|
|
|
from jcl_org_staffplan t where ((time_start <= #{timeStart,jdbcType=DATE}::TIMESTAMP AND time_end >= #{timeStart,jdbcType=DATE}::TIMESTAMP)
|
|
|
|
|
OR (time_start <= #{timeEnd,jdbcType=DATE}::TIMESTAMP AND time_end >= #{timeEnd,jdbcType=DATE}::TIMESTAMP))
|
|
|
|
|
AND ec_company = #{ecCompany}
|
|
|
|
|
AND control_dimension = #{controlDimension}
|
|
|
|
|
AND delete_type = 0
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
</mapper>
|