| | |
| | | String MinioPath = "D:\\ftptp\\"; |
| | | |
| | | |
| | | // String jsonUrl = "/usr/local/minio/data/zhba/upload/picture"; |
| | | // String jsonUrl = "/usr/local/minio/data/zhba/upload/picture"; |
| | | String jsonUrl = "D:\\anbao\\"; |
| | | } |
| | |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import javax.validation.Valid; |
| | | import java.text.SimpleDateFormat; |
| | | import java.util.ArrayList; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Map; |
| | | |
| | |
| | | |
| | | |
| | | @GetMapping("/updateUser") |
| | | public R updateUser(String hold,String cardid) { |
| | | userService.updateUser(hold, cardid); |
| | | public R updateUser(String hold,String cardid,String holdv) { |
| | | SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");//设置日期格式 |
| | | String time = df.format(new Date()); |
| | | userService.updateUser(hold, cardid,holdv,time); |
| | | return R.success("吊销成功"); |
| | | } |
| | | |
| | |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd") |
| | | @TableField("paper_time") |
| | | private Date paperTime; |
| | | private String holdv; |
| | | @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8") |
| | | @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | private Date holdvtime; |
| | | |
| | | |
| | | } |
| | |
| | | */ |
| | | List<UserExcel> exportUser(@Param("ew") Wrapper<User> queryWrapper); |
| | | |
| | | void updateUser(String hold,String cardid); |
| | | void updateUser(String hold,String cardid,String holdv,String time); |
| | | |
| | | /** |
| | | * 自定义用户列表(只有保安员) |
| | |
| | | <result column="my_picture" property="myPicture"/> |
| | | <result column="soil" property="soil"/> |
| | | <result column="healstats" property="healstats"/> |
| | | <result column="holdv" property="holdv"/> |
| | | </resultMap> |
| | | |
| | | |
| | |
| | | |
| | | <update id="updateUser"> |
| | | update blade_user |
| | | set hold=#{hold} |
| | | set hold=#{hold},holdv=#{holdv},holdvtime=#{time} |
| | | where cardid = #{cardid} |
| | | </update> |
| | | |
| | |
| | | * @return |
| | | */ |
| | | UserVO platformDetail(User user); |
| | | void updateUser(String hold,String cardid); |
| | | void updateUser(String hold,String cardid,String holdv,String time); |
| | | |
| | | /** |
| | | * 自定义用户列表(只有保安员) |
| | |
| | | } |
| | | |
| | | @Override |
| | | public void updateUser(String hold, String cardid) { |
| | | baseMapper.updateUser(hold, cardid); |
| | | public void updateUser(String hold, String cardid,String holdv,String time) { |
| | | baseMapper.updateUser(hold, cardid,holdv,time); |
| | | } |
| | | |
| | | |