Compare commits
No commits in common. "41d1f68bb026a3db7911c07b6e51055a81f03e91" and "5976b7a1da9d4f52bf6bb5612b0818ceb71d5f25" have entirely different histories.
41d1f68bb0
...
5976b7a1da
|
@ -133,20 +133,6 @@ public class ZyInfoController extends JeecgController<ZyInfo, IZyInfoService> {
|
||||||
return Result.OK("编辑成功!");
|
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查询")
|
@ApiOperation(value="作业发布-通过id查询", notes="作业发布-通过id查询")
|
||||||
@GetMapping(value = "/editStudent")
|
@GetMapping(value = "/editStudent")
|
||||||
public Result<ZyInfo> editStudent(@RequestParam(name="id",required=true) String id) {
|
public Result<ZyInfo> editStudent(@RequestParam(name="id",required=true) String id) {
|
||||||
|
|
|
@ -124,8 +124,6 @@ public class ZyInfo implements Serializable {
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private String stuFilePath;
|
private String stuFilePath;
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private String stuPdfPath;
|
|
||||||
@TableField(exist = false)
|
|
||||||
private String score;
|
private String score;
|
||||||
@TableField(exist = false)
|
@TableField(exist = false)
|
||||||
private String wtjnum;
|
private String wtjnum;
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
<mapper namespace="org.jeecg.modules.kc.zyInfo.mapper.ZyInfoMapper">
|
<mapper namespace="org.jeecg.modules.kc.zyInfo.mapper.ZyInfoMapper">
|
||||||
|
|
||||||
<select id="stuList" resultType="org.jeecg.modules.kc.zyInfo.entity.ZyInfo">
|
<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,b.pdf_path as stuPdfPath
|
select a.*,b.id as stuId ,b.file_path as stuFilePath,b.score,b.wwxsl,b.nwxsl,b.aigcxsl
|
||||||
from zy_info a ,zy_info_student b
|
from zy_info a ,zy_info_student b
|
||||||
${ew.customSqlSegment}
|
${ew.customSqlSegment}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue