| | |
| | | |
| | | import me.zhengjie.annotation.Log; |
| | | import me.zhengjie.modules.system.domain.SystemSetting; |
| | | import me.zhengjie.modules.system.domain.vo.CalendarVo; |
| | | import me.zhengjie.modules.system.service.SystemSettingService; |
| | | import me.zhengjie.modules.system.service.dto.SysRosteringQueryCriteria; |
| | | import me.zhengjie.modules.system.service.dto.SystemSettingDto; |
| | | import me.zhengjie.modules.system.service.dto.SystemSettingQueryCriteria; |
| | | import org.springframework.data.domain.Pageable; |
| | | import lombok.RequiredArgsConstructor; |
| | |
| | | import org.springframework.web.bind.annotation.*; |
| | | import io.swagger.annotations.*; |
| | | import java.io.IOException; |
| | | import java.util.List; |
| | | import javax.servlet.http.HttpServletResponse; |
| | | |
| | | /** |
| | |
| | | systemSettingService.deleteAll(ids); |
| | | return new ResponseEntity<>(HttpStatus.OK); |
| | | } |
| | | |
| | | /** |
| | | * 选择用户改变公司 |
| | | * @return |
| | | * @throws Exception |
| | | */ |
| | | @PostMapping(value = "/getCompName") |
| | | @Log("选择用户改变公司") |
| | | @ApiOperation("选择用户改变公司") |
| | | public ResponseEntity<Object> getCompName(@Validated @RequestBody SystemSettingDto resources){ |
| | | return new ResponseEntity<>(systemSettingService.getCompName(resources), HttpStatus.OK); |
| | | } |
| | | } |