Compare commits
3 Commits
5976b7a1da
...
41d1f68bb0
Author | SHA1 | Date |
---|---|---|
|
41d1f68bb0 | |
|
998bc77d99 | |
|
b14b0ed49b |
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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}
|
||||
|
||||
|
|
Loading…
Reference in New Issue