bug
This commit is contained in:
@@ -18,6 +18,8 @@ public class CourseToMedicineMarketEntity {
|
||||
|
||||
private Integer medicineMarketId;
|
||||
|
||||
private Integer sort;
|
||||
|
||||
private Date createTime;
|
||||
|
||||
@TableLogic
|
||||
|
||||
@@ -161,6 +161,18 @@ public class CourseMedicineMarketController {
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
/**
|
||||
* 修改商品和营销标签下的排序权重
|
||||
* @return
|
||||
*/
|
||||
@RequestMapping("/editMarketSort")
|
||||
public R editMarketSort(@RequestBody Map<String,Integer> map){
|
||||
CourseToMedicineMarketEntity toMarket = toMarketService.getById(map.get("id"));
|
||||
toMarket.setSort(map.get("sort"));
|
||||
toMarketService.updateById(toMarket);
|
||||
return R.ok().put("result",toMarket);
|
||||
}
|
||||
|
||||
@RequestMapping(path = "/delToMarket")
|
||||
public R delToMarket(String marketId,String courseId) {
|
||||
if(StringUtils.isNotEmpty(courseId)){
|
||||
|
||||
Reference in New Issue
Block a user