Compare commits
No commits in common. "3767ec6b6564fbb912dea2b7a247a6258419738a" and "33a327fb0ceb345e078cb8c4218da90a844fe4a8" have entirely different histories.
3767ec6b65
...
33a327fb0c
|
@ -154,15 +154,6 @@ public class AppController extends BaseController
|
||||||
return success(asArticleService.selectAsArticleByArticleId(articleId));
|
return success(asArticleService.selectAsArticleByArticleId(articleId));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 租车协议详情
|
|
||||||
*/
|
|
||||||
@GetMapping(value = "/article/agreement")
|
|
||||||
public AjaxResult getAgreementArticleInfo(Long areaId)
|
|
||||||
{
|
|
||||||
return success(asArticleService.getAgreementArticleInfo(areaId));
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询运营区列表
|
* 查询运营区列表
|
||||||
|
|
|
@ -68,8 +68,4 @@ public interface AsArticleMapper
|
||||||
*/
|
*/
|
||||||
public int deleteAsArticleByArticleIds(Long[] articleIds);
|
public int deleteAsArticleByArticleIds(Long[] articleIds);
|
||||||
|
|
||||||
/**
|
|
||||||
* 租车协议详情
|
|
||||||
*/
|
|
||||||
EtArticle getAgreementArticleInfo(Long areaId);
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -86,14 +86,6 @@ public interface IAsArticleService
|
||||||
*/
|
*/
|
||||||
public String[] getTagList(Long articleId);
|
public String[] getTagList(Long articleId);
|
||||||
|
|
||||||
/**
|
|
||||||
* 获取协议文章内容
|
|
||||||
*
|
|
||||||
* @param areaId
|
|
||||||
* @return
|
|
||||||
*/
|
|
||||||
EtArticle getAgreementArticleInfo(Long areaId);
|
|
||||||
|
|
||||||
// /**
|
// /**
|
||||||
// * 获取动态分类列表
|
// * 获取动态分类列表
|
||||||
// *
|
// *
|
||||||
|
|
|
@ -205,15 +205,6 @@ public class AsArticleServiceImpl implements IAsArticleService
|
||||||
return split;
|
return split;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* 租车协议详情
|
|
||||||
*/
|
|
||||||
@Override
|
|
||||||
public EtArticle getAgreementArticleInfo(Long areaId) {
|
|
||||||
EtArticle etArticle = asArticleMapper.getAgreementArticleInfo(areaId);
|
|
||||||
return etArticle;
|
|
||||||
}
|
|
||||||
|
|
||||||
// /**
|
// /**
|
||||||
// * 查询动态分类及数量
|
// * 查询动态分类及数量
|
||||||
// *
|
// *
|
||||||
|
|
|
@ -110,11 +110,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
where article_id = #{articleId}
|
where article_id = #{articleId}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="getAgreementArticleInfo" resultType="com.ruoyi.system.domain.EtArticle">
|
|
||||||
<include refid="selectAsArticleVo"/>
|
|
||||||
where area_id = #{areaId} and tag = 'agreement'
|
|
||||||
</select>
|
|
||||||
|
|
||||||
<insert id="insertAsArticle" parameterType="EtArticle">
|
<insert id="insertAsArticle" parameterType="EtArticle">
|
||||||
insert into et_article
|
insert into et_article
|
||||||
<trim prefix="(" suffix=")" suffixOverrides=",">
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
|
|
@ -234,7 +234,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
|
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
|
||||||
<if test="remark != null">remark = #{remark},</if>
|
<if test="remark != null">remark = #{remark},</if>
|
||||||
<if test="areaId != null">area_id = #{areaId},</if>
|
<if test="areaId != null">area_id = #{areaId},</if>
|
||||||
<if test="dividendProportion != null and dividendProportion != 0">dividend_proportion = #{dividendProportion},</if>
|
<if test="dividendProportion != null">dividend_proportion = #{dividendProportion},</if>
|
||||||
<if test="dividendItem != null">dividend_item = #{dividendItem},</if>
|
<if test="dividendItem != null">dividend_item = #{dividendItem},</if>
|
||||||
<if test="appUserId != null">app_user_id = #{appUserId},</if>
|
<if test="appUserId != null">app_user_id = #{appUserId},</if>
|
||||||
<if test="cooperationTime != null">cooperation_time = #{cooperationTime},</if>
|
<if test="cooperationTime != null">cooperation_time = #{cooperationTime},</if>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user