ComProjectEquipmentDAO.xml 817 Bytes
<?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.ComProjectEquipmentDAO">
    <sql id="allColumns">
        t.id as id, t.budget_id as budgetId, t.object_id as objectId, t.total_budget as totalBudget, t.gov_budget as govBudget, t.unit_budget as unitBudget, t.remark as remark, t.created as created, 
        t.updated as updated
    </sql>
    <select id="getListByObjectId" parameterType="java.lang.String" resultType="com.yiboshi.science.param.dto.ComProjectEquipmentDTO">
        SELECT
        a.*
        FROM com_project_equipment a
        where object_id=#{objectId} order by created asc
    </select>
</mapper>