Commit d25738fb authored by liwei's avatar liwei

修改了意见反馈接口

parent 062ef9c3
......@@ -39,5 +39,12 @@ public class MemFeedback extends CyIdIncreEntity<MemFeedback> {
private String content;
/**
* @desc 处理状态 1:已处理 0:未处理
* @column status
* @default
*/
@Excel(name = "处理状态", orderNum = "2", width = 20)
private String status;
}
......@@ -34,6 +34,7 @@ public class MemFeedbackServiceImpl extends ServiceImpl<MemFeedbackRepository, M
@Override
public CyPersistModel persist(MemFeedback memFeedback){
//增加操作
memFeedback.setStatus("0");
int line = baseMapper.insert(memFeedback);
log.debug(CyUserUtil.getAuthenUsername()+"新增了ID为"+
memFeedback.getBusinessId()+"的意见反馈信息");
......
......@@ -51,6 +51,9 @@
<if test="entity.content !=null and entity.content != '' ">
and content like concat('%',#{entity.content},'%')
</if>
<if test="entity.status !=null and entity.status != '' ">
and status = #{entity.status}
</if>
ORDER BY business_id DESC
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment