xiaoyong931011
2022-03-16 dca3e301410be4aee5a7895a1c2c1bbf90f3d03b
src/main/resources/mapper/contract/ContractEntrustOrderDao.xml
@@ -31,4 +31,14 @@
    <select id="selectAllEntrustOrder" resultType="com.xcong.excoin.modules.contract.entity.ContractEntrustOrderEntity">
        select * from contract_entrust_order
    </select>
    <select id="selectMemberEntrustOrderByPositionType" resultType="com.xcong.excoin.modules.contract.entity.ContractEntrustOrderEntity">
        select * from contract_entrust_order
        where position_type=#{positionType} and member_id=#{memberId}
    </select>
    <select id="selectEntrustOrderByOrderNo" resultType="com.xcong.excoin.modules.contract.entity.ContractEntrustOrderEntity">
        select * from contract_entrust_order
        where order_no=#{orderNo}
    </select>
</mapper>