package com.landtool.lanbase.modules.res.controller; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.ResponseBody; import com.landtool.lanbase.modules.res.entity.Res_Theme_Relation; import com.landtool.lanbase.modules.res.service.ResThemeRelationService; @Controller @RequestMapping("/res/ResThemeRelation") public class ResThemeRelationController { @Autowired private ResThemeRelationService resThemeRelationService; @ResponseBody @RequestMapping("insert") public int insert(Res_Theme_Relation record) { return resThemeRelationService.insert(record); } @ResponseBody @RequestMapping("insertSelective") public int insertSelective(Res_Theme_Relation record) { return resThemeRelationService.insertSelective(record); } }