You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
1.2 KiB
32 lines
1.2 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
<mapper namespace="com.spring.modules.part.mapper.PartCostGroupInformationMapper">
|
|
|
|
<!-- 单位信息列表 -->
|
|
<select id="partCostGroupInformationSearch" resultType="com.spring.modules.part.vo.PartCostGroupInformationVo">
|
|
SELECT
|
|
site,
|
|
part_cost_group_id,
|
|
part_cost_group_desc,
|
|
active,
|
|
create_by,
|
|
create_date,
|
|
update_by,
|
|
update_date,
|
|
show_in_query_flag
|
|
FROM plm_part_cost_group
|
|
<where>
|
|
site = #{query.site}
|
|
<if test = "query.partCostGroupId != null and query.partCostGroupId != ''">
|
|
AND part_cost_group_id like #{query.partCostGroupId}
|
|
</if>
|
|
<if test = "query.partCostGroupDesc != null and query.partCostGroupDesc != ''">
|
|
AND part_cost_group_desc like #{query.partCostGroupDesc}
|
|
</if>
|
|
<if test = "query.active != null and query.active != ''">
|
|
AND active = #{query.active}
|
|
</if>
|
|
</where>
|
|
</select>
|
|
|
|
</mapper>
|