Compare commits

...

3 Commits

Author SHA1 Message Date
曹磊 41d1f68bb0 学生作业增加预览 2024-05-24 20:42:17 +08:00
曹磊 998bc77d99 Merge remote-tracking branch 'origin/master' 2024-05-24 17:17:50 +08:00
曹磊 b14b0ed49b 作业发布是提示改为发布成功 2024-05-24 17:01:16 +08:00
3 changed files with 17 additions and 1 deletions

View File

@ -133,6 +133,20 @@ public class ZyInfoController extends JeecgController<ZyInfo, IZyInfoService> {
return Result.OK("编辑成功!");
}
/**
* 编辑
*
* @param zyInfo
* @return
*/
@AutoLog(value = "作业发布-发布")
@ApiOperation(value="作业发布-发布", notes="作业发布-发布")
@RequestMapping(value = "/release", method = {RequestMethod.PUT,RequestMethod.POST})
public Result<String> release(@RequestBody ZyInfo zyInfo) {
zyInfoService.updateById(zyInfo);
return Result.OK("发布成功!");
}
@ApiOperation(value="作业发布-通过id查询", notes="作业发布-通过id查询")
@GetMapping(value = "/editStudent")
public Result<ZyInfo> editStudent(@RequestParam(name="id",required=true) String id) {

View File

@ -124,6 +124,8 @@ public class ZyInfo implements Serializable {
@TableField(exist = false)
private String stuFilePath;
@TableField(exist = false)
private String stuPdfPath;
@TableField(exist = false)
private String score;
@TableField(exist = false)
private String wtjnum;

View File

@ -3,7 +3,7 @@
<mapper namespace="org.jeecg.modules.kc.zyInfo.mapper.ZyInfoMapper">
<select id="stuList" resultType="org.jeecg.modules.kc.zyInfo.entity.ZyInfo">
select a.*,b.id as stuId ,b.file_path as stuFilePath,b.score,b.wwxsl,b.nwxsl,b.aigcxsl
select a.*,b.id as stuId ,b.file_path as stuFilePath,b.score,b.wwxsl,b.nwxsl,b.aigcxsl,b.pdf_path as stuPdfPath
from zy_info a ,zy_info_student b
${ew.customSqlSegment}