Compare commits

..

No commits in common. "3767ec6b6564fbb912dea2b7a247a6258419738a" and "33a327fb0ceb345e078cb8c4218da90a844fe4a8" have entirely different histories.

6 changed files with 1 additions and 36 deletions

View File

@ -154,15 +154,6 @@ public class AppController extends BaseController
return success(asArticleService.selectAsArticleByArticleId(articleId));
}
/**
* 租车协议详情
*/
@GetMapping(value = "/article/agreement")
public AjaxResult getAgreementArticleInfo(Long areaId)
{
return success(asArticleService.getAgreementArticleInfo(areaId));
}
/**
* 查询运营区列表

View File

@ -68,8 +68,4 @@ public interface AsArticleMapper
*/
public int deleteAsArticleByArticleIds(Long[] articleIds);
/**
* 租车协议详情
*/
EtArticle getAgreementArticleInfo(Long areaId);
}

View File

@ -86,14 +86,6 @@ public interface IAsArticleService
*/
public String[] getTagList(Long articleId);
/**
* 获取协议文章内容
*
* @param areaId
* @return
*/
EtArticle getAgreementArticleInfo(Long areaId);
// /**
// * 获取动态分类列表
// *

View File

@ -205,15 +205,6 @@ public class AsArticleServiceImpl implements IAsArticleService
return split;
}
/**
* 租车协议详情
*/
@Override
public EtArticle getAgreementArticleInfo(Long areaId) {
EtArticle etArticle = asArticleMapper.getAgreementArticleInfo(areaId);
return etArticle;
}
// /**
// * 查询动态分类及数量
// *

View File

@ -110,11 +110,6 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
where article_id = #{articleId}
</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 into et_article
<trim prefix="(" suffix=")" suffixOverrides=",">

View File

@ -234,7 +234,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if test="updateBy != null and updateBy != ''">update_by = #{updateBy},</if>
<if test="remark != null">remark = #{remark},</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="appUserId != null">app_user_id = #{appUserId},</if>
<if test="cooperationTime != null">cooperation_time = #{cooperationTime},</if>