<?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.yiboshi.science.dao.ComProjectCooperativeUnitsDAO">
<sql id="allColumns">
t.id as id, t.object_id as objectId, t.unit_name as unitName, t.unit_address as unitAddress, t.project_work as projectWork
</sql>
<select id="getListByObjectId" parameterType="java.util.Map" resultType="com.yiboshi.science.param.dto.ComProjectCooperativeUnitsDTO">
SELECT
a.*
FROM com_project_cooperative_units a
where object_id=#{objectId} and type=#{type} order by a.show_index asc
</select>
</mapper>
-
wangxl authored3e24b7b9