编制方案新增,兼容PG
This commit is contained in:
parent
8b617f8423
commit
886717334b
|
|
@ -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>
|
||||
Loading…
Reference in New Issue