Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/PlayPai
| | |
| | | import com.dsh.account.feignclient.course.model.TCoursePackagePayment; |
| | | import com.dsh.account.model.QueryDataFee; |
| | | import com.dsh.account.model.StudentVo; |
| | | import com.dsh.account.service.IVipPaymentService; |
| | | import com.dsh.account.service.RechargeRecordsService; |
| | | import com.dsh.account.service.TAppUserService; |
| | | import com.dsh.account.service.TStudentService; |
| | | import com.dsh.account.service.*; |
| | | import com.dsh.account.util.ResultUtil; |
| | | import com.dsh.account.util.TokenUtil; |
| | | import com.dsh.account.util.ToolUtil; |
| | |
| | | return map; |
| | | |
| | | } |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/student/comdel") |
| | | public void comdel(@RequestBody Integer id) { |
| | | evaluateStudentService.removeById(id); |
| | | |
| | | } |
| | | |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/student/stuStores") |
| | | public HashMap<String, Object> stuStores(@RequestBody Integer id){ |
| | |
| | | |
| | | |
| | | |
| | | @Autowired |
| | | private EvaluateStudentService evaluateStudentService; |
| | | @ResponseBody |
| | | @PostMapping("/student/save") |
| | | public void save(@RequestBody EvaluateStudent evaluateStudent) { |
| | | evaluateStudent.setInsertTime(new Date()); |
| | | evaluateStudentService.saveOrUpdate(evaluateStudent); |
| | | |
| | | |
| | | } |
| | | |
| | | |
| | | |
| | |
| | | import java.io.Serializable; |
| | | |
| | | import com.baomidou.mybatisplus.extension.activerecord.Model; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | |
| | | /** |
| | | * 添加时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField("insertTime") |
| | | private Date insertTime; |
| | | |
| | |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiImplicitParams; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import jdk.nashorn.internal.runtime.regexp.joni.constants.OPCode; |
| | | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | import java.io.Serializable; |
| | | |
| | | import com.baomidou.mybatisplus.extension.activerecord.Model; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | import lombok.experimental.Accessors; |
| | |
| | | /** |
| | | * 添加时间 |
| | | */ |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8") |
| | | @TableField("insertTime") |
| | | private Date insertTime; |
| | | |
| | |
| | | |
| | | import com.dsh.course.dto.CreateHistoryDto; |
| | | import com.dsh.course.dto.GetHistoryDto; |
| | | import com.dsh.course.entity.EvaluateStudent; |
| | | import com.dsh.course.feignClient.account.model.*; |
| | | |
| | | import com.dsh.course.dto.StudentSearch; |
| | |
| | | @PostMapping("/student/stuStores") |
| | | HashMap<String, Object> stuStores(@RequestBody Integer id); |
| | | |
| | | |
| | | @PostMapping("/student/save") |
| | | void save(EvaluateStudent evaluateStudent); |
| | | @PostMapping("/student/comdel") |
| | | void comdel(@RequestBody Integer id); |
| | | } |
| | |
| | | } |
| | | |
| | | |
| | | @RequestMapping("/addcom") |
| | | @RequestMapping("/addcom/{id}") |
| | | @ResponseBody |
| | | public ResultUtil addcom(String content,String image) { |
| | | public ResultUtil addcom(@PathVariable("id") Integer id,String content,String image) { |
| | | |
| | | EvaluateStudent evaluateStudent = new EvaluateStudent(); |
| | | evaluateStudent.setStudentId(id); |
| | | evaluateStudent.setContent(content); |
| | | evaluateStudent.setImgs(image); |
| | | evaluateStudent.setInsertTime(new Date()); |
| | | // evaluateStudent.setInsertTime(new Date()); |
| | | |
| | | evaluateStudentService.save(evaluateStudent); |
| | | |
| | | appUserClient.save(evaluateStudent); |
| | | // evaluateStudentService.save(evaluateStudent); |
| | | |
| | | |
| | | |
| | |
| | | evaluateStudent.setId(id); |
| | | evaluateStudent.setContent(content); |
| | | evaluateStudent.setImgs(images); |
| | | evaluateStudent.setInsertTime(new Date()); |
| | | appUserClient.save(evaluateStudent); |
| | | |
| | | evaluateStudentService.updateById(evaluateStudent); |
| | | // evaluateStudentService.updateById(evaluateStudent); |
| | | |
| | | |
| | | |
| | |
| | | @ResponseBody |
| | | public ResultUtil comdel(@PathVariable("id") Integer id) { |
| | | |
| | | evaluateStudentService.removeById(id); |
| | | |
| | | appUserClient.comdel(id); |
| | | |
| | | // evaluateStudentService.removeById(id); |
| | | |
| | | |
| | | |
| | |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "object-upload://default", |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:5a904d4cfcf4", |
| | |
| | | "type": "form", |
| | | "api": { |
| | | "method": "post", |
| | | "url": "/tStudent/addcom", |
| | | "url": `/tStudent/addcom/+${id}`, |
| | | "messages": {}, |
| | | "dataType": "form-data" |
| | | }, |
| | |
| | | "uploadType": "fileReceptor", |
| | | "imageClassName": "r w-full", |
| | | "receiver": { |
| | | "url": "/api/upload/oss", |
| | | "url": "/mgr/uploadImgAmis", |
| | | "method": "post" |
| | | }, |
| | | "id": "u:617faa0f7046", |
| | |
| | | "type": "input-text", |
| | | "label": "id", |
| | | "name": "id", |
| | | "hidden": false, |
| | | "hidden": true, |
| | | "id": "u:8fbfb3be80ce", |
| | | "value":`${id}` |
| | | } |