@@ -68,12 +71,28 @@ public class AdminVideoController {
}
@ResponseBody
@Transactional
@PostMapping("doSalesUpdate")
publicRjxdoSalesUpdate(Integerid){
T_videovm=newT_video();
vm.setId(id);
vm.setIs_sales(1);
common.merge(vm);
T_videov=newT_video();
v.setId(id);
v.setIs_sales(1);
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);