修复了Task的查询问题,修改了导入员工的接口参数

master
ArgonarioD 2022-07-11 14:52:53 +08:00
parent 5d62c9af3a
commit bc20a0212b
2 changed files with 5 additions and 1 deletions

View File

@ -50,7 +50,7 @@ public class StaffController {
@PostMapping(value = "/import") @PostMapping(value = "/import")
public ResponseMap importStaffs( public ResponseMap importStaffs(
@RequestHeader("Token") String token, @RequestHeader("Token") String token,
@RequestParam("File-Digest") String digest, @RequestHeader("File-Digest") String digest,
@RequestParam("uploadFile") MultipartFile uploadFile @RequestParam("uploadFile") MultipartFile uploadFile
) { ) {
if (null == uploadFile) { if (null == uploadFile) {

View File

@ -7,8 +7,10 @@ import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic; import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler; import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder; import lombok.Builder;
import lombok.Data; import lombok.Data;
import lombok.NoArgsConstructor;
import java.time.LocalDateTime; import java.time.LocalDateTime;
import java.util.Map; import java.util.Map;
@ -19,6 +21,8 @@ import java.util.Objects;
* @since 2022/7/4 11:07 * @since 2022/7/4 11:07
*/ */
@Builder @Builder
@AllArgsConstructor
@NoArgsConstructor
@Data @Data
public class Task { public class Task {