【修复】参数错误
This commit is contained in:
@@ -14,7 +14,7 @@ public interface AppModelMapper extends BaseMapper<AppModel> {
|
|||||||
|
|
||||||
Page<AppModel> page(Page<AppModel> page, @Param("modelPageRequest") ModelPageRequest modelPageRequest);
|
Page<AppModel> page(Page<AppModel> page, @Param("modelPageRequest") ModelPageRequest modelPageRequest);
|
||||||
|
|
||||||
List<AppModel> list(@Param("modelPageRequest") ModelListRequest modelListRequest);
|
List<AppModel> list(@Param("modelListRequest") ModelListRequest modelListRequest);
|
||||||
|
|
||||||
AppModel getModelById(@Param("modelId") String modelId);
|
AppModel getModelById(@Param("modelId") String modelId);
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@
|
|||||||
<select id="page" resultType="com.corewing.app.entity.AppModel">
|
<select id="page" resultType="com.corewing.app.entity.AppModel">
|
||||||
<include refid="selectVOSql"/>
|
<include refid="selectVOSql"/>
|
||||||
<where>
|
<where>
|
||||||
<if test="modelPageRequest.userId != null and modelPageRequest.userId != ''">
|
<if test="modelPageRequest.userId != null">
|
||||||
AND m.user_id = #{modelPageRequest.userId}
|
AND m.user_id = #{modelPageRequest.userId}
|
||||||
</if>
|
</if>
|
||||||
<if test="modelPageRequest.status != null and modelPageRequest.status != ''">
|
<if test="modelPageRequest.status != null and modelPageRequest.status != ''">
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
<select id="list" resultType="com.corewing.app.entity.AppModel">
|
<select id="list" resultType="com.corewing.app.entity.AppModel">
|
||||||
<include refid="selectVOSql"/>
|
<include refid="selectVOSql"/>
|
||||||
<where>
|
<where>
|
||||||
<if test="modelListRequest.userId != null and modelListRequest.userId != ''">
|
<if test="modelListRequest.userId != null">
|
||||||
AND m.user_id = #{modelListRequest.userId}
|
AND m.user_id = #{modelListRequest.userId}
|
||||||
</if>
|
</if>
|
||||||
<if test="modelListRequest.status != null and modelListRequest.status != ''">
|
<if test="modelListRequest.status != null and modelListRequest.status != ''">
|
||||||
|
|||||||
Reference in New Issue
Block a user