| | |
| | | <result property="projName" column="proj_name"/> |
| | | <result property="deductionNum" column="deductionNum"/> |
| | | <result property="isCourse" column="is_course"/> |
| | | <result property="timeLength" column="time_length"/> |
| | | |
| | | |
| | | |
| | |
| | | <select id="selectInPage" resultMap="SysProjUseMap"> |
| | | select |
| | | a.*, |
| | | b.TIME_LENGTH |
| | | b.TIME_LENGTH, |
| | | b.img |
| | | from sys_proj_use a |
| | | left join shopping_goods b on a.proj_id=b.id |
| | | where 1=1 |
| | |
| | | <!-- 根据对象查询 --> |
| | | <select id="selectByModel" resultMap="SysProjUseMap"> |
| | | select |
| | | a.* |
| | | a.*, |
| | | b.time_length, |
| | | b.img |
| | | from sys_proj_use a |
| | | left join shopping_goods b on a.proj_id=b.id |
| | | where 1=1 |
| | | <if test="record!=null"> |
| | | <if test="record.id != null and record.id !='' "> |