@@ -68,12 +71,28 @@ public class AdminVideoController {
...
@@ -68,12 +71,28 @@ public class AdminVideoController {
}
}
@ResponseBody
@ResponseBody
@Transactional
@PostMapping("doSalesUpdate")
@PostMapping("doSalesUpdate")
publicRjxdoSalesUpdate(Integerid){
publicRjxdoSalesUpdate(Integerid){
T_videovm=newT_video();
T_videov=newT_video();
vm.setId(id);
v.setId(id);
vm.setIs_sales(1);
v.setIs_sales(1);
common.merge(vm);
common.merge(v);
{
List<T_licence>licenceList=jdbcTemplate.queryForBeans("select * from t_licence where video_id = ? and is_close = 0 and is_sales = 1",T_licence.class,id);