Commit 8a2d3e57 authored by suichenguang's avatar suichenguang

修改标记制证数据状态

parent 0fc0d140
......@@ -11,6 +11,13 @@ import org.springframework.web.bind.annotation.RestController;
public class FilesAnalysisApi {
@Autowired
private PersonPostService personPostService;
/**
* 文件解析
* @param fileId
* @param creatTime
* @return
*/
@RequestMapping("anailsis")
public boolean filesAnailsis(@RequestParam(value = "fileId") String fileId,@RequestParam(value = "creatTime") String creatTime){
personPostService.updateIsPost(fileId,creatTime);
......
......@@ -105,7 +105,7 @@ public class ImportXmlApi {
}
} catch (FileUploadException e) {
e.printStackTrace();
yxresp.outPutError("FileUploadException", "文件上发生异常:" + e.getMessage());
yxresp.outPutError("FileUploadException", "文件上发生异常:" + e.getMessage());
} finally {
return yxresp.toJSONString();
}
......
......@@ -37,4 +37,8 @@ public interface PreproPersonMapper {
" <when test='state!=null'> and PREPRO_PERSON.state = #{state} </when> " +
" <when test='uploadDate!=null'> and files.CREAT_TIME = #{uploadDate} </when> ")
public List<PreproPersonEntity> selectPreproPerson(@Param("uploadNo")String uploadNo, @Param("IDCard")String IDCard, @Param("oldFile")String oldFile, @Param("newFile")String newFile, @Param("SSXQDM")String SSXQDM, @Param("cardType")String cardType, @Param("state")String state, @Param("uploadDate")String uploadDate);
/*修改标记制证数据状态*/
@Update("UPDATE PREPRO_PERSON SET STATE = #{state} WHERE JMSFZSLH=#{acceptNo}")
public boolean updateState (@Param("state")String state, @Param("acceptNo") String acceptNo);
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment