| | |
| | | <modelVersion>4.0.0</modelVersion> |
| | | <!-- <packaging>war</packaging>--> |
| | | <packaging>jar</packaging> |
| | | <artifactId>smartor-opo</artifactId> |
| | | <artifactId>smartor-opo-qd</artifactId> |
| | | |
| | | <description> |
| | | webæå¡å
¥å£ |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.project; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.annotation.RepeatSubmit; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.project.domain.ServiceAttendancerecords; |
| | | import com.ruoyi.project.service.IServiceAttendancerecordsService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * èå¤è®°å½Controller |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Api(description = "èå¤è®°å½") |
| | | @RestController |
| | | @RequestMapping("/project/attendancerecords") |
| | | public class ServiceAttendancerecordsController extends BaseController { |
| | | @Autowired |
| | | private IServiceAttendancerecordsService serviceAttendancerecordsService; |
| | | |
| | | /** |
| | | * æ¥è¯¢èå¤è®°å½å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢èå¤è®°å½å表") |
| | | // @PreAuthorize("@ss.hasPermi('project:attendancerecords:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(ServiceAttendancerecords serviceAttendancerecords) { |
| | | startPage(); |
| | | List<ServiceAttendancerecords> list = serviceAttendancerecordsService.queryList(serviceAttendancerecords); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºèå¤è®°å½å表 |
| | | */ |
| | | @ApiOperation("导åºèå¤è®°å½å表") |
| | | // @PreAuthorize("@ss.hasPermi('project:attendancerecords:export')") |
| | | @Log(title = "èå¤è®°å½", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceAttendancerecords serviceAttendancerecords) { |
| | | List<ServiceAttendancerecords> list = serviceAttendancerecordsService.queryList(serviceAttendancerecords); |
| | | ExcelUtil<ServiceAttendancerecords> util = new ExcelUtil<ServiceAttendancerecords>(ServiceAttendancerecords.class); |
| | | return util.exportExcel(list, "èå¤è®°å½æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åèå¤è®°å½è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åèå¤è®°å½è¯¦ç»ä¿¡æ¯") |
| | | // @PreAuthorize("@ss.hasPermi('project:attendancerecords:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceAttendancerecordsService.getById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢èå¤è®°å½ |
| | | */ |
| | | @ApiOperation("æ°å¢èå¤è®°å½") |
| | | // @PreAuthorize("@ss.hasPermi('project:attendancerecords:add')") |
| | | @Log(title = "èå¤è®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody ServiceAttendancerecords serviceAttendancerecords) { |
| | | return toAjax(serviceAttendancerecordsService.save(serviceAttendancerecords)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹èå¤è®°å½ |
| | | */ |
| | | @ApiOperation("ä¿®æ¹èå¤è®°å½") |
| | | // @PreAuthorize("@ss.hasPermi('project:attendancerecords:edit')") |
| | | @Log(title = "èå¤è®°å½", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody ServiceAttendancerecords serviceAttendancerecords) { |
| | | return toAjax(serviceAttendancerecordsService.updateById(serviceAttendancerecords)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤èå¤è®°å½ |
| | | */ |
| | | @ApiOperation("å é¤èå¤è®°å½") |
| | | // @PreAuthorize("@ss.hasPermi('project:attendancerecords:remove')") |
| | | @Log(title = "èå¤è®°å½", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(serviceAttendancerecordsService.removeByIds(Arrays.asList(ids))); |
| | | } |
| | | } |
| | |
| | | import com.ruoyi.common.annotation.RepeatSubmit; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.domain.model.LoginUser; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.exception.base.BaseException; |
| | | import com.ruoyi.common.utils.SecurityUtils; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.project.common.IdGeneratorUtils; |
| | | import com.ruoyi.project.domain.ServiceDonatebaseinfoReport; |
| | | import com.ruoyi.project.domain.ServiceDonatebaseinfoReportFile; |
| | | import com.ruoyi.project.domain.VUserOrg; |
| | | import com.ruoyi.project.service.IServiceDonatebaseinfoReportFileService; |
| | | import com.ruoyi.project.service.IServiceDonatebaseinfoReportService; |
| | | import com.ruoyi.project.service.IVUserOrgService; |
| | | import com.ruoyi.system.domain.SysConfig; |
| | | import com.ruoyi.system.service.ISysConfigService; |
| | | import com.sun.org.apache.bcel.internal.generic.NEW; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | |
| | | */ |
| | | @Api(description = "æç®ä¸æ¥åºç¡") |
| | | @RestController |
| | | @RequestMapping("/system/donatebaseinforeport") |
| | | @RequestMapping("/project/donatebaseinforeport") |
| | | public class ServiceDonatebaseinfoReportController extends BaseController { |
| | | @Autowired |
| | | private IServiceDonatebaseinfoReportService serviceDonatebaseinfoReportService; |
| | |
| | | private IServiceDonatebaseinfoReportFileService serviceDonatebaseinfoReportFileService; |
| | | @Autowired |
| | | private ISysConfigService sysConfigService; |
| | | @Autowired |
| | | private IVUserOrgService vUserOrgService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æç®ä¸æ¥åºç¡å表 |
| | |
| | | //çææ¡ä¾ä¸æ¥ID |
| | | String caseNo = String.valueOf(IdGeneratorUtils.nextId()); |
| | | serviceDonatebaseinfoReport.setCaseNo(caseNo); |
| | | |
| | | //è·ååè°åä¿¡æ¯ |
| | | LoginUser loginUser = SecurityUtils.getLoginUser(); |
| | | String userName = loginUser.getUser().getUserName(); |
| | | VUserOrg vUserOrg= new VUserOrg(); |
| | | vUserOrg.setUserName(userName); |
| | | List<VUserOrg> vUserOrgs = vUserOrgService.queryList(vUserOrg); |
| | | if(CollectionUtils.isNotEmpty(vUserOrgs)){ |
| | | serviceDonatebaseinfoReport.setCoordinatorNo(vUserOrgs.get(0).getCoordinatorNo()); |
| | | serviceDonatebaseinfoReport.setCoordinatorName(vUserOrgs.get(0).getCoordinatorName()); |
| | | } |
| | | |
| | | boolean save = serviceDonatebaseinfoReportService.save(serviceDonatebaseinfoReport); |
| | | //å°çæçæä»¶å°ååå¨å°æ°æ®åºä¸ |
| | | if (save) |
| | |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody ServiceDonatebaseinfoReport serviceDonatebaseinfoReport) { |
| | | if (StringUtils.isEmpty(serviceDonatebaseinfoReport.getCaseNo())) { |
| | | throw new BaseException("æ¡ä¾ç¼å·ä¸ºç©ºï¼è¯·æ£æ¥ååä¿®æ¹"); |
| | | } |
| | | boolean b = serviceDonatebaseinfoReportService.updateById(serviceDonatebaseinfoReport); |
| | | if (b) { |
| | | serviceDonatebaseinfoReportFileService.updateList(serviceDonatebaseinfoReport.getAnnexfilesList(), serviceDonatebaseinfoReport.getId(), serviceDonatebaseinfoReport.getCaseNo(), getNickName()); |
| | | if (serviceDonatebaseinfoReport.getReportStatus().equals("3")) { |
| | | //妿åæä¸æ¥ï¼é£å°±å¯ä»¥å»ºæ¡£äºï¼å¾ ServiceDonatebaseinfoæ°å¢ï¼ |
| | | serviceDonatebaseinfoReportService.createDocument(serviceDonatebaseinfoReport); |
| | | } |
| | | } |
| | | |
| | | return toAjax(b); |
| | | } |
| | | |
| | |
| | | */ |
| | | @Api(description = "æ¡ä¾ä¸æ¥éä»¶") |
| | | @RestController |
| | | @RequestMapping("/system/Donatebaseinfofile") |
| | | @RequestMapping("/project/Donatebaseinfofile") |
| | | public class ServiceDonatebaseinfoReportFileController extends BaseController { |
| | | @Autowired |
| | | private IServiceDonatebaseinfoReportFileService serviceDonatebaseinfoReportFileService; |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.project; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.annotation.RepeatSubmit; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.project.domain.ServiceDonatemaintenance; |
| | | import com.ruoyi.project.service.IServiceDonatemaintenanceService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ä¾ä½ç»´æ¤è®°å½Controller |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-12-27 |
| | | */ |
| | | @Api(description = "ä¾ä½ç»´æ¤è®°å½") |
| | | @RestController |
| | | @RequestMapping("/project/donatemaintenance") |
| | | public class ServiceDonatemaintenanceController extends BaseController { |
| | | @Autowired |
| | | private IServiceDonatemaintenanceService serviceDonatemaintenanceService; |
| | | |
| | | /** |
| | | * æ¥è¯¢ä¾ä½ç»´æ¤è®°å½å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢ä¾ä½ç»´æ¤è®°å½å表") |
| | | // @PreAuthorize("@ss.hasPermi('system:donatemaintenance:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(ServiceDonatemaintenance serviceDonatemaintenance) { |
| | | startPage(); |
| | | List<ServiceDonatemaintenance> list = serviceDonatemaintenanceService.queryList(serviceDonatemaintenance); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºä¾ä½ç»´æ¤è®°å½å表 |
| | | */ |
| | | @ApiOperation("导åºä¾ä½ç»´æ¤è®°å½å表") |
| | | // @PreAuthorize("@ss.hasPermi('system:donatemaintenance:export')") |
| | | @Log(title = "ä¾ä½ç»´æ¤è®°å½", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceDonatemaintenance serviceDonatemaintenance) { |
| | | List<ServiceDonatemaintenance> list = serviceDonatemaintenanceService.queryList(serviceDonatemaintenance); |
| | | ExcelUtil<ServiceDonatemaintenance> util = new ExcelUtil<ServiceDonatemaintenance>(ServiceDonatemaintenance.class); |
| | | return util.exportExcel(list, "ä¾ä½ç»´æ¤è®°å½æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åä¾ä½ç»´æ¤è®°å½è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åä¾ä½ç»´æ¤è®°å½è¯¦ç»ä¿¡æ¯") |
| | | // @PreAuthorize("@ss.hasPermi('system:donatemaintenance:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(serviceDonatemaintenanceService.getById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢ä¾ä½ç»´æ¤è®°å½ |
| | | */ |
| | | @ApiOperation("æ°å¢ä¾ä½ç»´æ¤è®°å½") |
| | | // @PreAuthorize("@ss.hasPermi('system:donatemaintenance:add')") |
| | | @Log(title = "ä¾ä½ç»´æ¤è®°å½", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody ServiceDonatemaintenance serviceDonatemaintenance) { |
| | | return toAjax(serviceDonatemaintenanceService.save(serviceDonatemaintenance)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ä¾ä½ç»´æ¤è®°å½ |
| | | */ |
| | | @ApiOperation("ä¿®æ¹ä¾ä½ç»´æ¤è®°å½") |
| | | // @PreAuthorize("@ss.hasPermi('system:donatemaintenance:edit')") |
| | | @Log(title = "ä¾ä½ç»´æ¤è®°å½", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody ServiceDonatemaintenance serviceDonatemaintenance) { |
| | | return toAjax(serviceDonatemaintenanceService.updateById(serviceDonatemaintenance)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤ä¾ä½ç»´æ¤è®°å½ |
| | | */ |
| | | @ApiOperation("å é¤ä¾ä½ç»´æ¤è®°å½") |
| | | // @PreAuthorize("@ss.hasPermi('system:donatemaintenance:remove')") |
| | | @Log(title = "ä¾ä½ç»´æ¤è®°å½", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{id}") |
| | | public AjaxResult remove(@PathVariable Long id) { |
| | | ServiceDonatemaintenance serviceDonatemaintenance = new ServiceDonatemaintenance(); |
| | | serviceDonatemaintenance.setId(id); |
| | | serviceDonatemaintenance.setDelFlag(1); |
| | | return toAjax(serviceDonatemaintenanceService.updateById(serviceDonatemaintenance)); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.project; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.annotation.RepeatSubmit; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.project.domain.ServiceMeeting; |
| | | import com.ruoyi.project.service.IServiceMeetingService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * ä¼è®®çºªè¦Controller |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Api(description = "ä¼è®®çºªè¦") |
| | | @RestController |
| | | @RequestMapping("/project/meeting") |
| | | public class ServiceMeetingController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IServiceMeetingService serviceMeetingService; |
| | | |
| | | /** |
| | | * æ¥è¯¢ä¼è®®çºªè¦å表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢ä¼è®®çºªè¦å表") |
| | | // @PreAuthorize("@ss.hasPermi('project:meeting:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(ServiceMeeting serviceMeeting) |
| | | { |
| | | startPage(); |
| | | List<ServiceMeeting> list = serviceMeetingService.queryList(serviceMeeting); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºä¼è®®çºªè¦å表 |
| | | */ |
| | | @ApiOperation("导åºä¼è®®çºªè¦å表") |
| | | // @PreAuthorize("@ss.hasPermi('project:meeting:export')") |
| | | @Log(title = "ä¼è®®çºªè¦", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceMeeting serviceMeeting) |
| | | { |
| | | List<ServiceMeeting> list = serviceMeetingService.queryList(serviceMeeting); |
| | | ExcelUtil<ServiceMeeting> util = new ExcelUtil<ServiceMeeting>(ServiceMeeting.class); |
| | | return util.exportExcel(list, "ä¼è®®çºªè¦æ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åä¼è®®çºªè¦è¯¦ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åä¼è®®çºªè¦è¯¦ç»ä¿¡æ¯") |
| | | // @PreAuthorize("@ss.hasPermi('project:meeting:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Integer id) |
| | | { |
| | | return AjaxResult.success(serviceMeetingService.getById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢ä¼è®®çºªè¦ |
| | | */ |
| | | @ApiOperation("æ°å¢ä¼è®®çºªè¦") |
| | | // @PreAuthorize("@ss.hasPermi('project:meeting:add')") |
| | | @Log(title = "ä¼è®®çºªè¦", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody ServiceMeeting serviceMeeting) |
| | | { |
| | | return toAjax(serviceMeetingService.save(serviceMeeting)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ä¼è®®çºªè¦ |
| | | */ |
| | | @ApiOperation("ä¿®æ¹ä¼è®®çºªè¦") |
| | | // @PreAuthorize("@ss.hasPermi('project:meeting:edit')") |
| | | @Log(title = "ä¼è®®çºªè¦", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody ServiceMeeting serviceMeeting) |
| | | { |
| | | return toAjax(serviceMeetingService.updateById(serviceMeeting)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤ä¼è®®çºªè¦ |
| | | */ |
| | | @ApiOperation("å é¤ä¼è®®çºªè¦") |
| | | // @PreAuthorize("@ss.hasPermi('project:meeting:remove')") |
| | | @Log(title = "ä¼è®®çºªè¦", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Integer[] ids) |
| | | { |
| | | return toAjax(serviceMeetingService.removeByIds(Arrays.asList(ids))); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.project; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.annotation.RepeatSubmit; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.project.domain.ServiceMeetingParticipant; |
| | | import com.ruoyi.project.service.IServiceMeetingParticipantService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * åä¼äººåController |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Api(description = "åä¼äººå") |
| | | @RestController |
| | | @RequestMapping("/project/participant") |
| | | public class ServiceMeetingParticipantController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IServiceMeetingParticipantService serviceMeetingParticipantService; |
| | | |
| | | /** |
| | | * æ¥è¯¢åä¼äººåå表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢åä¼äººåå表") |
| | | // @PreAuthorize("@ss.hasPermi('project:participant:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(ServiceMeetingParticipant serviceMeetingParticipant) |
| | | { |
| | | startPage(); |
| | | List<ServiceMeetingParticipant> list = serviceMeetingParticipantService.queryList(serviceMeetingParticipant); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºåä¼äººåå表 |
| | | */ |
| | | @ApiOperation("导åºåä¼äººåå表") |
| | | // @PreAuthorize("@ss.hasPermi('project:participant:export')") |
| | | @Log(title = "åä¼äººå", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceMeetingParticipant serviceMeetingParticipant) |
| | | { |
| | | List<ServiceMeetingParticipant> list = serviceMeetingParticipantService.queryList(serviceMeetingParticipant); |
| | | ExcelUtil<ServiceMeetingParticipant> util = new ExcelUtil<ServiceMeetingParticipant>(ServiceMeetingParticipant.class); |
| | | return util.exportExcel(list, "åä¼äººåæ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·ååä¼äººå详ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·ååä¼äººå详ç»ä¿¡æ¯") |
| | | // @PreAuthorize("@ss.hasPermi('project:participant:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Integer id) |
| | | { |
| | | return AjaxResult.success(serviceMeetingParticipantService.getById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢åä¼äººå |
| | | */ |
| | | @ApiOperation("æ°å¢åä¼äººå") |
| | | // @PreAuthorize("@ss.hasPermi('project:participant:add')") |
| | | @Log(title = "åä¼äººå", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody ServiceMeetingParticipant serviceMeetingParticipant) |
| | | { |
| | | return toAjax(serviceMeetingParticipantService.save(serviceMeetingParticipant)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹åä¼äººå |
| | | */ |
| | | @ApiOperation("ä¿®æ¹åä¼äººå") |
| | | // @PreAuthorize("@ss.hasPermi('project:participant:edit')") |
| | | @Log(title = "åä¼äººå", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody ServiceMeetingParticipant serviceMeetingParticipant) |
| | | { |
| | | return toAjax(serviceMeetingParticipantService.updateById(serviceMeetingParticipant)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤åä¼äººå |
| | | */ |
| | | @ApiOperation("å é¤åä¼äººå") |
| | | // @PreAuthorize("@ss.hasPermi('project:participant:remove')") |
| | | @Log(title = "åä¼äººå", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Integer[] ids) |
| | | { |
| | | return toAjax(serviceMeetingParticipantService.removeByIds(Arrays.asList(ids))); |
| | | } |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.project; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.security.access.prepost.PreAuthorize; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.PutMapping; |
| | | import org.springframework.web.bind.annotation.DeleteMapping; |
| | | import org.springframework.web.bind.annotation.PathVariable; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.annotation.RepeatSubmit; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.project.domain.ServiceTrainingRecords; |
| | | import com.ruoyi.project.service.IServiceTrainingRecordsService; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | |
| | | /** |
| | | * 人åè¿ä¿®ç®¡çController |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Api(description = "人åè¿ä¿®ç®¡ç") |
| | | @RestController |
| | | @RequestMapping("/project/records") |
| | | public class ServiceTrainingRecordsController extends BaseController |
| | | { |
| | | @Autowired |
| | | private IServiceTrainingRecordsService serviceTrainingRecordsService; |
| | | |
| | | /** |
| | | * æ¥è¯¢äººåè¿ä¿®ç®¡çå表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢äººåè¿ä¿®ç®¡çå表") |
| | | // @PreAuthorize("@ss.hasPermi('project:records:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(ServiceTrainingRecords serviceTrainingRecords) |
| | | { |
| | | startPage(); |
| | | List<ServiceTrainingRecords> list = serviceTrainingRecordsService.queryList(serviceTrainingRecords); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºäººåè¿ä¿®ç®¡çå表 |
| | | */ |
| | | @ApiOperation("导åºäººåè¿ä¿®ç®¡çå表") |
| | | // @PreAuthorize("@ss.hasPermi('project:records:export')") |
| | | @Log(title = "人åè¿ä¿®ç®¡ç", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(ServiceTrainingRecords serviceTrainingRecords) |
| | | { |
| | | List<ServiceTrainingRecords> list = serviceTrainingRecordsService.queryList(serviceTrainingRecords); |
| | | ExcelUtil<ServiceTrainingRecords> util = new ExcelUtil<ServiceTrainingRecords>(ServiceTrainingRecords.class); |
| | | return util.exportExcel(list, "人åè¿ä¿®ç®¡çæ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·å人åè¿ä¿®ç®¡ç详ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·å人åè¿ä¿®ç®¡ç详ç»ä¿¡æ¯") |
| | | // @PreAuthorize("@ss.hasPermi('project:records:query')") |
| | | @GetMapping(value = "/getInfo/{id}") |
| | | public AjaxResult getInfo(@PathVariable("id") Long id) |
| | | { |
| | | return AjaxResult.success(serviceTrainingRecordsService.getById(id)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢äººåè¿ä¿®ç®¡ç |
| | | */ |
| | | @ApiOperation("æ°å¢äººåè¿ä¿®ç®¡ç") |
| | | // @PreAuthorize("@ss.hasPermi('project:records:add')") |
| | | @Log(title = "人åè¿ä¿®ç®¡ç", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody ServiceTrainingRecords serviceTrainingRecords) |
| | | { |
| | | return toAjax(serviceTrainingRecordsService.save(serviceTrainingRecords)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹äººåè¿ä¿®ç®¡ç |
| | | */ |
| | | @ApiOperation("ä¿®æ¹äººåè¿ä¿®ç®¡ç") |
| | | // @PreAuthorize("@ss.hasPermi('project:records:edit')") |
| | | @Log(title = "人åè¿ä¿®ç®¡ç", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody ServiceTrainingRecords serviceTrainingRecords) |
| | | { |
| | | return toAjax(serviceTrainingRecordsService.updateById(serviceTrainingRecords)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤äººåè¿ä¿®ç®¡ç |
| | | */ |
| | | @ApiOperation("å é¤äººåè¿ä¿®ç®¡ç") |
| | | // @PreAuthorize("@ss.hasPermi('project:records:remove')") |
| | | @Log(title = "人åè¿ä¿®ç®¡ç", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) |
| | | { |
| | | return toAjax(serviceTrainingRecordsService.removeByIds(Arrays.asList(ids))); |
| | | } |
| | | } |
| | |
| | | */ |
| | | @Api(description = "ä¾è
转è¿ç»è®°") |
| | | @RestController |
| | | @RequestMapping("/system/transport") |
| | | @RequestMapping("/project/transport") |
| | | public class ServiceTransportController extends BaseController { |
| | | @Autowired |
| | | private IServiceTransportService serviceTransportService; |
| | |
| | | @ApiOperation("å é¤ä¾è
转è¿ç»è®°") |
| | | // @PreAuthorize("@ss.hasPermi('system:transport:remove')") |
| | | @Log(title = "ä¾è
转è¿ç»è®°", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(serviceTransportService.removeByIds(Arrays.asList(ids))); |
| | | @GetMapping("/remove/{id}") |
| | | public AjaxResult remove(@PathVariable Long id) { |
| | | ServiceTransport serviceTransport = new ServiceTransport(); |
| | | serviceTransport.setId(id); |
| | | serviceTransport.setDelFlag(1); |
| | | return toAjax(serviceTransportService.updateById(serviceTransport)); |
| | | } |
| | | } |
| | |
| | | */ |
| | | @Api(description = "ä¾è
转è¿ç»è®°éä»¶") |
| | | @RestController |
| | | @RequestMapping("/system/transportfile") |
| | | @RequestMapping("/project/transportfile") |
| | | public class ServiceTransportFileController extends BaseController { |
| | | @Autowired |
| | | private IServiceTransportFileService serviceTransportFileService; |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.web.controller.project; |
| | | |
| | | import com.ruoyi.common.annotation.Log; |
| | | import com.ruoyi.common.annotation.RepeatSubmit; |
| | | import com.ruoyi.common.core.controller.BaseController; |
| | | import com.ruoyi.common.core.domain.AjaxResult; |
| | | import com.ruoyi.common.core.page.TableDataInfo; |
| | | import com.ruoyi.common.enums.BusinessType; |
| | | import com.ruoyi.common.utils.poi.ExcelUtil; |
| | | import com.ruoyi.project.domain.VUserOrg; |
| | | import com.ruoyi.project.service.IVUserOrgService; |
| | | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * VIEWController |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-12-27 |
| | | */ |
| | | @Api(description = "VIEW") |
| | | @RestController |
| | | @RequestMapping("/project/org") |
| | | public class VUserOrgController extends BaseController { |
| | | @Autowired |
| | | private IVUserOrgService vUserOrgService; |
| | | |
| | | /** |
| | | * æ¥è¯¢VIEWå表 |
| | | */ |
| | | @ApiOperation("æ¥è¯¢VIEWå表") |
| | | // @PreAuthorize("@ss.hasPermi('system:org:list')") |
| | | @PostMapping("/list") |
| | | public TableDataInfo list(VUserOrg vUserOrg) { |
| | | startPage(); |
| | | List<VUserOrg> list = vUserOrgService.queryList(vUserOrg); |
| | | return getDataTable(list); |
| | | } |
| | | |
| | | /** |
| | | * 导åºVIEWå表 |
| | | */ |
| | | @ApiOperation("导åºVIEWå表") |
| | | // @PreAuthorize("@ss.hasPermi('system:org:export')") |
| | | @Log(title = "VIEW", businessType = BusinessType.EXPORT) |
| | | @GetMapping("/export") |
| | | public AjaxResult export(VUserOrg vUserOrg) { |
| | | List<VUserOrg> list = vUserOrgService.queryList(vUserOrg); |
| | | ExcelUtil<VUserOrg> util = new ExcelUtil<VUserOrg>(VUserOrg.class); |
| | | return util.exportExcel(list, "VIEWæ°æ®"); |
| | | } |
| | | |
| | | /** |
| | | * è·åVIEW详ç»ä¿¡æ¯ |
| | | */ |
| | | @ApiOperation("è·åVIEW详ç»ä¿¡æ¯") |
| | | // @PreAuthorize("@ss.hasPermi('system:org:query')") |
| | | @GetMapping(value = "/getInfo/{userId}") |
| | | public AjaxResult getInfo(@PathVariable("userId") Long userId) { |
| | | return AjaxResult.success(vUserOrgService.getById(userId)); |
| | | } |
| | | |
| | | /** |
| | | * æ°å¢VIEW |
| | | */ |
| | | @ApiOperation("æ°å¢VIEW") |
| | | // @PreAuthorize("@ss.hasPermi('system:org:add')") |
| | | @Log(title = "VIEW", businessType = BusinessType.INSERT) |
| | | @PostMapping("/add") |
| | | @RepeatSubmit |
| | | public AjaxResult add(@RequestBody VUserOrg vUserOrg) { |
| | | return toAjax(vUserOrgService.save(vUserOrg)); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹VIEW |
| | | */ |
| | | @ApiOperation("ä¿®æ¹VIEW") |
| | | // @PreAuthorize("@ss.hasPermi('system:org:edit')") |
| | | @Log(title = "VIEW", businessType = BusinessType.UPDATE) |
| | | @PostMapping("/edit") |
| | | @RepeatSubmit |
| | | public AjaxResult edit(@RequestBody VUserOrg vUserOrg) { |
| | | return toAjax(vUserOrgService.updateById(vUserOrg)); |
| | | } |
| | | |
| | | /** |
| | | * å é¤VIEW |
| | | */ |
| | | @ApiOperation("å é¤VIEW") |
| | | // @PreAuthorize("@ss.hasPermi('system:org:remove')") |
| | | @Log(title = "VIEW", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{userIds}") |
| | | public AjaxResult remove(@PathVariable Long[] userIds) { |
| | | return toAjax(vUserOrgService.removeByIds(Arrays.asList(userIds))); |
| | | } |
| | | } |
| | |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.framework.web.service.SysLoginService; |
| | | import com.ruoyi.framework.web.service.SysPermissionService; |
| | | import com.ruoyi.project.domain.BaseOrganization; |
| | | import com.ruoyi.project.mapper.BaseOrganizationMapper; |
| | | import com.ruoyi.project.service.DingTalkService; |
| | | import com.ruoyi.project.service.IBaseOrganizationService; |
| | | import com.ruoyi.system.service.ISysMenuService; |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiImplicitParam; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | |
| | | |
| | | @Autowired |
| | | private DingTalkService dingTalkService; |
| | | |
| | | @Autowired |
| | | private IBaseOrganizationService baseOrganizationService; |
| | | |
| | | |
| | | /** |
| | |
| | | // æééå |
| | | Set<String> permissions = permissionService.getMenuPermission(user); |
| | | |
| | | //è·ååè°å |
| | | BaseOrganization baseOrganization = new BaseOrganization(); |
| | | baseOrganization.setReporterNo(user.getUserName()); |
| | | baseOrganization.setDelFlag(0); |
| | | List<BaseOrganization> baseOrganizations = baseOrganizationService.queryList(baseOrganization); |
| | | if (CollectionUtils.isNotEmpty(baseOrganizations) && baseOrganizations.size() > 0) { |
| | | user.setCoordinatorName(baseOrganizations.get(0).getCoordinatorName()); |
| | | user.setCoordinatorNo(baseOrganizations.get(0).getCoordinatorNo()); |
| | | } |
| | | |
| | | AjaxResult ajax = AjaxResult.success(); |
| | | ajax.put("user", user); |
| | |
| | | # ä¸»åºæ°æ®æº |
| | | master: |
| | | # å»é¢ç¯å¢ |
| | | url: jdbc:mysql://129.88.242.37:3308/opo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | url: jdbc:mysql://127.0.0.1:3306/opo?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: opo |
| | | password: Smartor.2023 |
| | | password: Smartor.2025 |
| | | |
| | | # ä»åºæ°æ®æº |
| | | slave: |
| | |
| | | */ |
| | | private String dingUserId; |
| | | |
| | | /** |
| | | * åè°åç¼å· |
| | | */ |
| | | private String coordinatorNo; |
| | | |
| | | /** |
| | | * åè°åå§å |
| | | */ |
| | | private String coordinatorName; |
| | | |
| | | public SysUser() { |
| | | |
| | | } |
| | | |
| | | public String getCoordinatorNo() { |
| | | return coordinatorNo; |
| | | } |
| | | |
| | | public void setCoordinatorNo(String coordinatorNo) { |
| | | this.coordinatorNo = coordinatorNo; |
| | | } |
| | | |
| | | public String getCoordinatorName() { |
| | | return coordinatorName; |
| | | } |
| | | |
| | | public void setCoordinatorName(String coordinatorName) { |
| | | this.coordinatorName = coordinatorName; |
| | | } |
| | | |
| | | public String getDingUserId() { |
| | | return dingUserId; |
| | | } |
| | |
| | | import java.util.stream.Collectors; |
| | | import java.util.zip.ZipEntry; |
| | | import java.util.zip.ZipOutputStream; |
| | | |
| | | import org.apache.commons.io.FileUtils; |
| | | import org.apache.commons.io.IOUtils; |
| | | import org.apache.velocity.Template; |
| | |
| | | |
| | | /** |
| | | * ä¸å¡ æå¡å±å®ç° |
| | | * |
| | | * |
| | | * @author ruoyi |
| | | */ |
| | | @Service |
| | | public class GenTableServiceImpl implements IGenTableService |
| | | { |
| | | public class GenTableServiceImpl implements IGenTableService { |
| | | private static final Logger log = LoggerFactory.getLogger(GenTableServiceImpl.class); |
| | | |
| | | @Autowired |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢ä¸å¡ä¿¡æ¯ |
| | | * |
| | | * |
| | | * @param id ä¸å¡ID |
| | | * @return ä¸å¡ä¿¡æ¯ |
| | | */ |
| | | @Override |
| | | public GenTable selectGenTableById(Long id) |
| | | { |
| | | public GenTable selectGenTableById(Long id) { |
| | | GenTable genTable = genTableMapper.selectGenTableById(id); |
| | | setTableFromOptions(genTable); |
| | | return genTable; |
| | |
| | | |
| | | /** |
| | | * æ¥è¯¢ä¸å¡å表 |
| | | * |
| | | * |
| | | * @param genTable ä¸å¡ä¿¡æ¯ |
| | | * @return ä¸å¡éå |
| | | */ |
| | | @Override |
| | | public List<GenTable> selectGenTableList(GenTable genTable) |
| | | { |
| | | public List<GenTable> selectGenTableList(GenTable genTable) { |
| | | return genTableMapper.selectGenTableList(genTable); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ®åºå表 |
| | | * |
| | | * |
| | | * @param genTable ä¸å¡ä¿¡æ¯ |
| | | * @return æ°æ®åºè¡¨éå |
| | | */ |
| | | @Override |
| | | public List<GenTable> selectDbTableList(GenTable genTable) |
| | | { |
| | | public List<GenTable> selectDbTableList(GenTable genTable) { |
| | | return genTableMapper.selectDbTableList(genTable); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢æ®åºå表 |
| | | * |
| | | * |
| | | * @param tableNames 表åç§°ç» |
| | | * @return æ°æ®åºè¡¨éå |
| | | */ |
| | | @Override |
| | | public List<GenTable> selectDbTableListByNames(String[] tableNames) |
| | | { |
| | | public List<GenTable> selectDbTableListByNames(String[] tableNames) { |
| | | return genTableMapper.selectDbTableListByNames(tableNames); |
| | | } |
| | | |
| | | /** |
| | | * æ¥è¯¢ææè¡¨ä¿¡æ¯ |
| | | * |
| | | * |
| | | * @return 表信æ¯éå |
| | | */ |
| | | @Override |
| | | public List<GenTable> selectGenTableAll() |
| | | { |
| | | public List<GenTable> selectGenTableAll() { |
| | | return genTableMapper.selectGenTableAll(); |
| | | } |
| | | |
| | | /** |
| | | * ä¿®æ¹ä¸å¡ |
| | | * |
| | | * |
| | | * @param genTable ä¸å¡ä¿¡æ¯ |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | @Transactional |
| | | public void updateGenTable(GenTable genTable) |
| | | { |
| | | public void updateGenTable(GenTable genTable) { |
| | | String options = JSON.toJSONString(genTable.getParams()); |
| | | genTable.setOptions(options); |
| | | int row = genTableMapper.updateGenTable(genTable); |
| | | if (row > 0) |
| | | { |
| | | for (GenTableColumn cenTableColumn : genTable.getColumns()) |
| | | { |
| | | if (row > 0) { |
| | | for (GenTableColumn cenTableColumn : genTable.getColumns()) { |
| | | genTableColumnMapper.updateGenTableColumn(cenTableColumn); |
| | | } |
| | | } |
| | |
| | | |
| | | /** |
| | | * å é¤ä¸å¡å¯¹è±¡ |
| | | * |
| | | * |
| | | * @param tableIds éè¦å é¤çæ°æ®ID |
| | | * @return ç»æ |
| | | */ |
| | | @Override |
| | | @Transactional |
| | | public void deleteGenTableByIds(Long[] tableIds) |
| | | { |
| | | public void deleteGenTableByIds(Long[] tableIds) { |
| | | genTableMapper.deleteGenTableByIds(tableIds); |
| | | genTableColumnMapper.deleteGenTableColumnByIds(tableIds); |
| | | } |
| | | |
| | | /** |
| | | * 导å
¥è¡¨ç»æ |
| | | * |
| | | * |
| | | * @param tableList 导å
¥è¡¨å表 |
| | | */ |
| | | @Override |
| | | @Transactional |
| | | public void importGenTable(List<GenTable> tableList) |
| | | { |
| | | public void importGenTable(List<GenTable> tableList) { |
| | | String operName = SecurityUtils.getUsername(); |
| | | try |
| | | { |
| | | for (GenTable table : tableList) |
| | | { |
| | | try { |
| | | for (GenTable table : tableList) { |
| | | String tableName = table.getTableName(); |
| | | GenUtils.initTable(table, operName); |
| | | int row = genTableMapper.insertGenTable(table); |
| | | if (row > 0) |
| | | { |
| | | if (row > 0) { |
| | | // ä¿ååä¿¡æ¯ |
| | | List<GenTableColumn> genTableColumns = genTableColumnMapper.selectDbTableColumnsByName(tableName); |
| | | for (GenTableColumn column : genTableColumns) |
| | | { |
| | | for (GenTableColumn column : genTableColumns) { |
| | | GenUtils.initColumnField(column, table); |
| | | genTableColumnMapper.insertGenTableColumn(column); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | catch (Exception e) |
| | | { |
| | | } catch (Exception e) { |
| | | throw new ServiceException("导å
¥å¤±è´¥ï¼" + e.getMessage()); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * é¢è§ä»£ç |
| | | * |
| | | * |
| | | * @param tableId 表ç¼å· |
| | | * @return é¢è§æ°æ®å表 |
| | | */ |
| | | @Override |
| | | public Map<String, String> previewCode(Long tableId) |
| | | { |
| | | public Map<String, String> previewCode(Long tableId) { |
| | | Map<String, String> dataMap = new LinkedHashMap<>(); |
| | | // æ¥è¯¢è¡¨ä¿¡æ¯ |
| | | GenTable table = genTableMapper.selectGenTableById(tableId); |
| | |
| | | |
| | | // è·å模æ¿å表 |
| | | List<String> templates = VelocityUtils.getTemplateList(table.getTplCategory()); |
| | | for (String template : templates) |
| | | { |
| | | for (String template : templates) { |
| | | // æ¸²ææ¨¡æ¿ |
| | | StringWriter sw = new StringWriter(); |
| | | Template tpl = Velocity.getTemplate(template, Constants.UTF8); |
| | |
| | | |
| | | /** |
| | | * çæä»£ç ï¼ä¸è½½æ¹å¼ï¼ |
| | | * |
| | | * |
| | | * @param tableName 表åç§° |
| | | * @return æ°æ® |
| | | */ |
| | | @Override |
| | | public byte[] downloadCode(String tableName) |
| | | { |
| | | public byte[] downloadCode(String tableName) { |
| | | ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); |
| | | ZipOutputStream zip = new ZipOutputStream(outputStream); |
| | | generatorCode(tableName, zip); |
| | |
| | | |
| | | /** |
| | | * çæä»£ç ï¼èªå®ä¹è·¯å¾ï¼ |
| | | * |
| | | * |
| | | * @param tableName 表åç§° |
| | | */ |
| | | @Override |
| | | public void generatorCode(String tableName) |
| | | { |
| | | public void generatorCode(String tableName) { |
| | | // æ¥è¯¢è¡¨ä¿¡æ¯ |
| | | GenTable table = genTableMapper.selectGenTableByName(tableName); |
| | | // 设置主åè¡¨ä¿¡æ¯ |
| | |
| | | |
| | | // è·å模æ¿å表 |
| | | List<String> templates = VelocityUtils.getTemplateList(table.getTplCategory()); |
| | | for (String template : templates) |
| | | { |
| | | if (!StringUtils.containsAny(template, "sql.vm", "api.js.vm", "index.vue.vm", "index-tree.vue.vm")) |
| | | { |
| | | for (String template : templates) { |
| | | if (!StringUtils.containsAny(template, "sql.vm", "api.js.vm", "index.vue.vm", "index-tree.vue.vm")) { |
| | | // æ¸²ææ¨¡æ¿ |
| | | StringWriter sw = new StringWriter(); |
| | | Template tpl = Velocity.getTemplate(template, Constants.UTF8); |
| | | tpl.merge(context, sw); |
| | | try |
| | | { |
| | | try { |
| | | String path = getGenPath(table, template); |
| | | FileUtils.writeStringToFile(new File(path), sw.toString(), CharsetKit.UTF_8); |
| | | } |
| | | catch (IOException e) |
| | | { |
| | | } catch (IOException e) { |
| | | throw new ServiceException("æ¸²ææ¨¡æ¿å¤±è´¥ï¼è¡¨åï¼" + table.getTableName()); |
| | | } |
| | | } |
| | |
| | | |
| | | /** |
| | | * åæ¥æ°æ®åº |
| | | * |
| | | * |
| | | * @param tableName 表åç§° |
| | | */ |
| | | @Override |
| | | @Transactional |
| | | public void synchDb(String tableName) |
| | | { |
| | | public void synchDb(String tableName) { |
| | | GenTable table = genTableMapper.selectGenTableByName(tableName); |
| | | List<GenTableColumn> tableColumns = table.getColumns(); |
| | | List<String> tableColumnNames = tableColumns.stream().map(GenTableColumn::getColumnName).collect(Collectors.toList()); |
| | | |
| | | List<GenTableColumn> dbTableColumns = genTableColumnMapper.selectDbTableColumnsByName(tableName); |
| | | if (StringUtils.isEmpty(dbTableColumns)) |
| | | { |
| | | if (StringUtils.isEmpty(dbTableColumns)) { |
| | | throw new ServiceException("åæ¥æ°æ®å¤±è´¥ï¼åè¡¨ç»æä¸åå¨"); |
| | | } |
| | | List<String> dbTableColumnNames = dbTableColumns.stream().map(GenTableColumn::getColumnName).collect(Collectors.toList()); |
| | | |
| | | dbTableColumns.forEach(column -> { |
| | | if (!tableColumnNames.contains(column.getColumnName())) |
| | | { |
| | | if (!tableColumnNames.contains(column.getColumnName())) { |
| | | GenUtils.initColumnField(column, table); |
| | | genTableColumnMapper.insertGenTableColumn(column); |
| | | } |
| | | }); |
| | | |
| | | List<GenTableColumn> delColumns = tableColumns.stream().filter(column -> !dbTableColumnNames.contains(column.getColumnName())).collect(Collectors.toList()); |
| | | if (StringUtils.isNotEmpty(delColumns)) |
| | | { |
| | | if (StringUtils.isNotEmpty(delColumns)) { |
| | | genTableColumnMapper.deleteGenTableColumns(delColumns); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * æ¹éçæä»£ç ï¼ä¸è½½æ¹å¼ï¼ |
| | | * |
| | | * |
| | | * @param tableNames 表æ°ç» |
| | | * @return æ°æ® |
| | | */ |
| | | @Override |
| | | public byte[] downloadCode(String[] tableNames) |
| | | { |
| | | public byte[] downloadCode(String[] tableNames) { |
| | | ByteArrayOutputStream outputStream = new ByteArrayOutputStream(); |
| | | ZipOutputStream zip = new ZipOutputStream(outputStream); |
| | | for (String tableName : tableNames) |
| | | { |
| | | for (String tableName : tableNames) { |
| | | generatorCode(tableName, zip); |
| | | } |
| | | IOUtils.closeQuietly(zip); |
| | |
| | | /** |
| | | * æ¥è¯¢è¡¨ä¿¡æ¯å¹¶çæä»£ç |
| | | */ |
| | | private void generatorCode(String tableName, ZipOutputStream zip) |
| | | { |
| | | private void generatorCode(String tableName, ZipOutputStream zip) { |
| | | // æ¥è¯¢è¡¨ä¿¡æ¯ |
| | | GenTable table = genTableMapper.selectGenTableByName(tableName); |
| | | // 设置主åè¡¨ä¿¡æ¯ |
| | |
| | | |
| | | // è·å模æ¿å表 |
| | | List<String> templates = VelocityUtils.getTemplateList(table.getTplCategory()); |
| | | for (String template : templates) |
| | | { |
| | | for (String template : templates) { |
| | | // æ¸²ææ¨¡æ¿ |
| | | StringWriter sw = new StringWriter(); |
| | | Template tpl = Velocity.getTemplate(template, Constants.UTF8); |
| | | tpl.merge(context, sw); |
| | | try |
| | | { |
| | | try { |
| | | // æ·»å å°zip |
| | | zip.putNextEntry(new ZipEntry(VelocityUtils.getFileName(template, table))); |
| | | IOUtils.write(sw.toString(), zip, Constants.UTF8); |
| | | IOUtils.closeQuietly(sw); |
| | | zip.flush(); |
| | | zip.flush(); |
| | | zip.closeEntry(); |
| | | } |
| | | catch (IOException e) |
| | | { |
| | | } catch (IOException e) { |
| | | log.error("æ¸²ææ¨¡æ¿å¤±è´¥ï¼è¡¨åï¼" + table.getTableName(), e); |
| | | } |
| | | } |
| | |
| | | |
| | | /** |
| | | * ä¿®æ¹ä¿ååæ°æ ¡éª |
| | | * |
| | | * |
| | | * @param genTable ä¸å¡ä¿¡æ¯ |
| | | */ |
| | | @Override |
| | | public void validateEdit(GenTable genTable) |
| | | { |
| | | if (GenConstants.TPL_TREE.equals(genTable.getTplCategory())) |
| | | { |
| | | public void validateEdit(GenTable genTable) { |
| | | if (GenConstants.TPL_TREE.equals(genTable.getTplCategory())) { |
| | | String options = JSON.toJSONString(genTable.getParams()); |
| | | JSONObject paramsObj = JSONObject.parseObject(options); |
| | | if (StringUtils.isEmpty(paramsObj.getString(GenConstants.TREE_CODE))) |
| | | { |
| | | if (StringUtils.isEmpty(paramsObj.getString(GenConstants.TREE_CODE))) { |
| | | throw new ServiceException("æ ç¼ç åæ®µä¸è½ä¸ºç©º"); |
| | | } |
| | | else if (StringUtils.isEmpty(paramsObj.getString(GenConstants.TREE_PARENT_CODE))) |
| | | { |
| | | } else if (StringUtils.isEmpty(paramsObj.getString(GenConstants.TREE_PARENT_CODE))) { |
| | | throw new ServiceException("æ ç¶ç¼ç åæ®µä¸è½ä¸ºç©º"); |
| | | } |
| | | else if (StringUtils.isEmpty(paramsObj.getString(GenConstants.TREE_NAME))) |
| | | { |
| | | } else if (StringUtils.isEmpty(paramsObj.getString(GenConstants.TREE_NAME))) { |
| | | throw new ServiceException("æ åç§°åæ®µä¸è½ä¸ºç©º"); |
| | | } |
| | | else if (GenConstants.TPL_SUB.equals(genTable.getTplCategory())) |
| | | { |
| | | if (StringUtils.isEmpty(genTable.getSubTableName())) |
| | | { |
| | | } else if (GenConstants.TPL_SUB.equals(genTable.getTplCategory())) { |
| | | if (StringUtils.isEmpty(genTable.getSubTableName())) { |
| | | throw new ServiceException("å
³èå表ç表åä¸è½ä¸ºç©º"); |
| | | } |
| | | else if (StringUtils.isEmpty(genTable.getSubTableFkName())) |
| | | { |
| | | } else if (StringUtils.isEmpty(genTable.getSubTableFkName())) { |
| | | throw new ServiceException("å表å
³èçå¤é®åä¸è½ä¸ºç©º"); |
| | | } |
| | | } |
| | |
| | | |
| | | /** |
| | | * 设置主é®åä¿¡æ¯ |
| | | * |
| | | * |
| | | * @param table ä¸å¡è¡¨ä¿¡æ¯ |
| | | */ |
| | | public void setPkColumn(GenTable table) |
| | | { |
| | | for (GenTableColumn column : table.getColumns()) |
| | | { |
| | | if (column.isPk()) |
| | | { |
| | | public void setPkColumn(GenTable table) { |
| | | for (GenTableColumn column : table.getColumns()) { |
| | | if (column.isPk()) { |
| | | table.setPkColumn(column); |
| | | break; |
| | | } |
| | | } |
| | | if (StringUtils.isNull(table.getPkColumn())) |
| | | { |
| | | if (StringUtils.isNull(table.getPkColumn())) { |
| | | table.setPkColumn(table.getColumns().get(0)); |
| | | } |
| | | if (GenConstants.TPL_SUB.equals(table.getTplCategory())) |
| | | { |
| | | for (GenTableColumn column : table.getSubTable().getColumns()) |
| | | { |
| | | if (column.isPk()) |
| | | { |
| | | if (GenConstants.TPL_SUB.equals(table.getTplCategory())) { |
| | | for (GenTableColumn column : table.getSubTable().getColumns()) { |
| | | if (column.isPk()) { |
| | | table.getSubTable().setPkColumn(column); |
| | | break; |
| | | } |
| | | } |
| | | if (StringUtils.isNull(table.getSubTable().getPkColumn())) |
| | | { |
| | | if (StringUtils.isNull(table.getSubTable().getPkColumn())) { |
| | | table.getSubTable().setPkColumn(table.getSubTable().getColumns().get(0)); |
| | | } |
| | | } |
| | |
| | | |
| | | /** |
| | | * 设置主åè¡¨ä¿¡æ¯ |
| | | * |
| | | * |
| | | * @param table ä¸å¡è¡¨ä¿¡æ¯ |
| | | */ |
| | | public void setSubTable(GenTable table) |
| | | { |
| | | public void setSubTable(GenTable table) { |
| | | String subTableName = table.getSubTableName(); |
| | | if (StringUtils.isNotEmpty(subTableName)) |
| | | { |
| | | if (StringUtils.isNotEmpty(subTableName)) { |
| | | table.setSubTable(genTableMapper.selectGenTableByName(subTableName)); |
| | | } |
| | | } |
| | | |
| | | /** |
| | | * 设置代ç çæå
¶ä»éé¡¹å¼ |
| | | * |
| | | * |
| | | * @param genTable 设置åççæå¯¹è±¡ |
| | | */ |
| | | public void setTableFromOptions(GenTable genTable) |
| | | { |
| | | public void setTableFromOptions(GenTable genTable) { |
| | | JSONObject paramsObj = JSONObject.parseObject(genTable.getOptions()); |
| | | if (StringUtils.isNotNull(paramsObj)) |
| | | { |
| | | if (StringUtils.isNotNull(paramsObj)) { |
| | | String treeCode = paramsObj.getString(GenConstants.TREE_CODE); |
| | | String treeParentCode = paramsObj.getString(GenConstants.TREE_PARENT_CODE); |
| | | String treeName = paramsObj.getString(GenConstants.TREE_NAME); |
| | | String parentMenuId = paramsObj.getString(GenConstants.PARENT_MENU_ID); |
| | | String parentMenuName = paramsObj.getString(GenConstants.PARENT_MENU_NAME); |
| | | |
| | | |
| | | genTable.setTreeCode(treeCode); |
| | | genTable.setTreeParentCode(treeParentCode); |
| | | genTable.setTreeName(treeName); |
| | |
| | | |
| | | /** |
| | | * è·å代ç çæå°å |
| | | * |
| | | * @param table ä¸å¡è¡¨ä¿¡æ¯ |
| | | * |
| | | * @param table ä¸å¡è¡¨ä¿¡æ¯ |
| | | * @param template æ¨¡æ¿æä»¶è·¯å¾ |
| | | * @return çæå°å |
| | | */ |
| | | public static String getGenPath(GenTable table, String template) |
| | | { |
| | | public static String getGenPath(GenTable table, String template) { |
| | | String genPath = table.getGenPath(); |
| | | if (StringUtils.equals(genPath, "/")) |
| | | { |
| | | if (StringUtils.equals(genPath, "/")) { |
| | | return System.getProperty("user.dir") + File.separator + "src" + File.separator + VelocityUtils.getFileName(template, table); |
| | | } |
| | | return genPath + File.separator + VelocityUtils.getFileName(template, table); |
| | | } |
| | | } |
| | | } |
| | |
| | | # 代ç çæ |
| | | gen: |
| | | gen: |
| | | # ä½è
|
| | | author: ruoyi |
| | | author: ls |
| | | # é»è®¤çæå
è·¯å¾ system éæ¹æèªå·±ç模ååç§° å¦ system monitor tool |
| | | packageName: com.ruoyi.system |
| | | packageName: com.ruoyi.project |
| | | # èªå¨å»é¤è¡¨åç¼ï¼é»è®¤æ¯false |
| | | autoRemovePre: false |
| | | # 表åç¼ï¼çæç±»åä¸ä¼å
å«è¡¨åç¼ï¼å¤ä¸ªç¨éå·åéï¼ |
| | | tablePrefix: sys_ |
| | | tablePrefix: sys_ |
| | |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="${packageName}.mapper.${ClassName}Mapper"> |
| | | |
| | | <resultMap type="${ClassName}" id="${ClassName}Result"> |
| | | |
| | | <resultMap type="${packageName}.domain.${ClassName}" id="${ClassName}Result"> |
| | | #foreach ($column in $columns) |
| | | <result property="${column.javaField}" column="${column.columnName}" /> |
| | | #end |
| | | </resultMap> |
| | | #if($table.sub) |
| | | |
| | | <resultMap id="${ClassName}${subClassName}Result" type="${ClassName}" extends="${ClassName}Result"> |
| | | <resultMap id="${ClassName}${subClassName}Result" type="${packageName}.domain.${ClassName}" extends="${ClassName}Result"> |
| | | <collection property="${subclassName}List" notNullColumn="sub_${subTable.pkColumn.columnName}" javaType="java.util.List" resultMap="${subClassName}Result" /> |
| | | </resultMap> |
| | | |
| | |
| | | select#foreach($column in $columns) $column.columnName#if($velocityCount != $columns.size()),#end#end from ${tableName} |
| | | </sql> |
| | | |
| | | <select id="select${ClassName}List" parameterType="${ClassName}" resultMap="${ClassName}Result"> |
| | | <select id="select${ClassName}List" parameterType="${packageName}.domain.${ClassName}" resultMap="${ClassName}Result"> |
| | | <include refid="select${ClassName}Vo"/> |
| | | <where> |
| | | #foreach($column in $columns) |
| | |
| | | </where> |
| | | </select> |
| | | |
| | | </mapper> |
| | | </mapper> |
| | |
| | | |
| | | /** |
| | | * æºæç®¡ç对象 base_organization |
| | | * |
| | | * |
| | | * @author ruoyi |
| | | * @date 2021-11-05 |
| | | */ |
| | | @Data |
| | | @ApiModel("æºæ") |
| | | public class BaseOrganization extends BaseEntity |
| | | { |
| | | public class BaseOrganization extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** 主é®èªå¢ */ |
| | | /** |
| | | * 主é®èªå¢ |
| | | */ |
| | | @ApiModelProperty("主é®èªå¢") |
| | | //æ°æ®åºèªå¢æ¹æ@TableId(type = IdType.AUTO) |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** ç»ç»åç§° */ |
| | | /** |
| | | * ç»ç»åç§° |
| | | */ |
| | | @ApiModelProperty("ç»ç»åç§°") |
| | | @Excel(name = "ç»ç»åç§°") |
| | | private String organizationname; |
| | | |
| | | /** ç»ç»ç¼å· */ |
| | | /** |
| | | * ç»ç»ç¼å· |
| | | */ |
| | | @ApiModelProperty("ç»ç»ç¼å·") |
| | | @Excel(name = "ç»ç»ç¼å·") |
| | | private String organizationid; |
| | | |
| | | /** logoå¾çè·¯å¾ */ |
| | | /** |
| | | * logoå¾çè·¯å¾ |
| | | */ |
| | | @ApiModelProperty("logoå¾çè·¯å¾") |
| | | @Excel(name = "logoå¾çè·¯å¾") |
| | | private String logourl; |
| | | |
| | | /** æ³¨åæ¶é´ */ |
| | | /** |
| | | * æ³¨åæ¶é´ |
| | | */ |
| | | @ApiModelProperty("æ³¨åæ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "æ³¨åæ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date registertime; |
| | | |
| | | /** 注åå°ç¹è¯¦ç»å°å */ |
| | | /** |
| | | * 注åå°ç¹è¯¦ç»å°å |
| | | */ |
| | | @ApiModelProperty("注åå°ç¹è¯¦ç»å°å") |
| | | @Excel(name = "注åå°ç¹è¯¦ç»å°å") |
| | | private String registeraddress; |
| | | |
| | | /** åå
¬å°ç¹ */ |
| | | /** |
| | | * åå
¬å°ç¹ |
| | | */ |
| | | @ApiModelProperty("åå
¬å°ç¹") |
| | | @Excel(name = "åå
¬å°ç¹") |
| | | private String officeplace; |
| | | |
| | | /** æ³äºº */ |
| | | /** |
| | | * æ³äºº |
| | | */ |
| | | @ApiModelProperty("æ³äºº") |
| | | @Excel(name = "æ³äºº") |
| | | private String legalperson; |
| | | |
| | | /** è系人 */ |
| | | /** |
| | | * è系人 |
| | | */ |
| | | @ApiModelProperty("è系人") |
| | | @Excel(name = "è系人") |
| | | private String contactperson; |
| | | |
| | | /** èç³»çµè¯ */ |
| | | /** |
| | | * èç³»çµè¯ |
| | | */ |
| | | @ApiModelProperty("èç³»çµè¯") |
| | | @Excel(name = "èç³»çµè¯") |
| | | private String contactnumber; |
| | | |
| | | /** ä»ç» */ |
| | | /** |
| | | * ä»ç» |
| | | */ |
| | | @ApiModelProperty("ä»ç»") |
| | | @Excel(name = "ä»ç»") |
| | | private String introduction; |
| | | |
| | | /** æºæç±»å æ ¹æ®åå
¸OrganizationType项 |
| | | 1ï¼OPOæºæ |
| | | 2ï¼çº¢ååä¼ |
| | | 3ï¼å»çæºæ |
| | | 4ï¼è¿è¾åä½ */ |
| | | @ApiModelProperty("æºæç±»å æ ¹æ®åå
¸ sys_OrganizationType") |
| | | /** |
| | | * æºæç±»å æ ¹æ®åå
¸OrganizationType项 |
| | | * 1ï¼OPOæºæ |
| | | * 2ï¼çº¢ååä¼ |
| | | * 3ï¼å»çæºæ |
| | | * 4ï¼è¿è¾åä½ |
| | | */ |
| | | @ApiModelProperty("æºæç±»å æ ¹æ®åå
¸ sys_OrganizationType") |
| | | @Excel(name = "æºæç±»å æ ¹æ®åå
¸OrganizationType项 1ï¼OPOæºæ 2ï¼çº¢ååä¼ 3ï¼å»çæºæ 4ï¼è¿è¾åä½") |
| | | private String organizationtype; |
| | | |
| | | /** å»é¢æ§è´¨ æ ¹æ®åå
¸HospitalNature项 |
| | | A1:ç»¼åæ§å»é¢ ç |
| | | |
| | | OrganizationType=2å»çæºææ¶éè¦éæ© */ |
| | | /** |
| | | * å»é¢æ§è´¨ æ ¹æ®åå
¸HospitalNature项 |
| | | * A1:ç»¼åæ§å»é¢ ç |
| | | * <p> |
| | | * OrganizationType=2å»çæºææ¶éè¦éæ© |
| | | */ |
| | | @ApiModelProperty("å»é¢æ§è´¨ æ ¹æ®åå
¸sys_HospitalNature OrganizationType=2å»çæºææ¶éè¦éæ©") |
| | | @Excel(name = "å»é¢æ§è´¨ æ ¹æ®åå
¸HospitalNature项 A1:ç»¼åæ§å»é¢ ç OrganizationType=2å»çæºææ¶éè¦éæ©") |
| | | private String hospitalnature; |
| | | |
| | | /** å°åºæ§è´¨ æ ¹æ®åå
¸RegionalLevel项 |
| | | 0ï¼çæ¬çº§ ç |
| | | |
| | | OrganizationType=2å»çæºææ¶éè¦éæ© */ |
| | | @ApiModelProperty("å°åºæ§è´¨ æ ¹æ®åå
¸sys_RegionalLevel OrganizationType=2å»çæºææ¶éè¦éæ©") |
| | | /** |
| | | * å°åºæ§è´¨ æ ¹æ®åå
¸RegionalLevel项 |
| | | * 0ï¼çæ¬çº§ ç |
| | | * <p> |
| | | * OrganizationType=2å»çæºææ¶éè¦éæ© |
| | | */ |
| | | @ApiModelProperty("å°åºæ§è´¨ æ ¹æ®åå
¸sys_RegionalLevel OrganizationType=2å»çæºææ¶éè¦éæ©") |
| | | @Excel(name = "å°åºæ§è´¨ æ ¹æ®åå
¸RegionalLevel项 0ï¼çæ¬çº§ ç OrganizationType=2å»çæºææ¶éè¦éæ©") |
| | | private String regionallevel; |
| | | |
| | | /** å»çæºæç¼å· å¦0ï¼æµæ±ç人æ°å»é¢ 1ï¼æå·å¸ç¬¬ä¸äººæ°å»é¢ |
| | | OrganizationType=2å»çæºææ¶éè¦å¡«å */ |
| | | /** |
| | | * å»çæºæç¼å· å¦0ï¼æµæ±ç人æ°å»é¢ 1ï¼æå·å¸ç¬¬ä¸äººæ°å»é¢ |
| | | * OrganizationType=2å»çæºææ¶éè¦å¡«å |
| | | */ |
| | | @ApiModelProperty("å»çæºæç¼å· å¦0ï¼æµæ±ç人æ°å»é¢ 1ï¼æå·å¸ç¬¬ä¸äººæ°å»é¢OrganizationType=2å»çæºææ¶éè¦å¡«å") |
| | | @Excel(name = "å»çæºæç¼å· å¦0ï¼æµæ±ç人æ°å»é¢ 1ï¼æå·å¸ç¬¬ä¸äººæ°å»é¢ OrganizationType=2å»çæºææ¶éè¦å¡«å") |
| | | private String medicalcode; |
| | | |
| | | /** ç份ç¼å· æ ¹æ®è¡æ¿åºå表 ææ³¨åå°éæ© */ |
| | | /** |
| | | * ç份ç¼å· æ ¹æ®è¡æ¿åºå表 ææ³¨åå°éæ© |
| | | */ |
| | | @ApiModelProperty("ç份ç¼å· æ ¹æ®è¡æ¿åºå表 ææ³¨åå°éæ©") |
| | | @Excel(name = "ç份ç¼å· æ ¹æ®è¡æ¿åºå表 ææ³¨åå°éæ©") |
| | | private String province; |
| | | |
| | | /** ç份åç§° */ |
| | | /** |
| | | * ç份åç§° |
| | | */ |
| | | @ApiModelProperty("ç份åç§°") |
| | | @Excel(name = "ç份åç§°") |
| | | private String provincename; |
| | | |
| | | /** å¸ç¼å· æ ¹æ®è¡æ¿åºå表 */ |
| | | /** |
| | | * å¸ç¼å· æ ¹æ®è¡æ¿åºå表 |
| | | */ |
| | | @ApiModelProperty("å¸ç¼å· æ ¹æ®è¡æ¿åºå表") |
| | | @Excel(name = "å¸ç¼å· æ ¹æ®è¡æ¿åºå表") |
| | | private String city; |
| | | |
| | | /** å¸åç§° */ |
| | | /** |
| | | * å¸åç§° |
| | | */ |
| | | @ApiModelProperty("å¸åç§°") |
| | | @Excel(name = "å¸åç§°") |
| | | private String cityname; |
| | | |
| | | /** æå±è¡éï¼éï¼æ ¹æ®è¡æ¿åºå表 */ |
| | | /** |
| | | * æå±è¡éï¼éï¼æ ¹æ®è¡æ¿åºå表 |
| | | */ |
| | | @ApiModelProperty("æå±è¡éï¼éï¼æ ¹æ®è¡æ¿åºå表") |
| | | @Excel(name = "æå±è¡é", readConverterExp = "é=") |
| | | private String town; |
| | | |
| | | /** æå±è¡éï¼éï¼åç§° */ |
| | | /** |
| | | * æå±è¡éï¼éï¼åç§° |
| | | */ |
| | | @ApiModelProperty("æå±è¡éï¼éï¼åç§°") |
| | | @Excel(name = "æå±è¡é", readConverterExp = "é=") |
| | | private String townname; |
| | | |
| | | /** 社åºï¼æï¼ç¼å· æ ¹æ®è¡æ¿åºå表 */ |
| | | /** |
| | | * 社åºï¼æï¼ç¼å· æ ¹æ®è¡æ¿åºå表 |
| | | */ |
| | | @ApiModelProperty("社åºï¼æï¼ç¼å· æ ¹æ®è¡æ¿åºå表") |
| | | @Excel(name = "社åº", readConverterExp = "æ=") |
| | | private String community; |
| | | |
| | | /** 社åºï¼æï¼åç§° */ |
| | | /** |
| | | * 社åºï¼æï¼åç§° |
| | | */ |
| | | @ApiModelProperty("社åºï¼æï¼åç§°") |
| | | @Excel(name = "社åº", readConverterExp = "æ=") |
| | | private String communityname; |
| | | |
| | | /** æå±åºåç¼å· æ ¹æ®è¡æ¿åºå表 */ |
| | | /** |
| | | * æå±åºåç¼å· æ ¹æ®è¡æ¿åºå表 |
| | | */ |
| | | @ApiModelProperty("æå±åºåç¼å· æ ¹æ®è¡æ¿åºå表") |
| | | @Excel(name = "æå±åºåç¼å· æ ¹æ®è¡æ¿åºå表") |
| | | private String countycode; |
| | | |
| | | /** æå±åºååç§° */ |
| | | /** |
| | | * æå±åºååç§° |
| | | */ |
| | | @ApiModelProperty("æå±åºååç§°") |
| | | @Excel(name = "æå±åºååç§°") |
| | | private String countyname; |
| | | /** æå±åºååç§° */ |
| | | |
| | | /** |
| | | * æå±åºååç§° |
| | | */ |
| | | @ApiModelProperty("é¶è¡åç§°") |
| | | @Excel(name = "é¶è¡åç§°") |
| | | private String bankname; |
| | | /** æå±åºååç§° */ |
| | | |
| | | /** |
| | | * æå±åºååç§° |
| | | */ |
| | | @ApiModelProperty("é¶è¡è´¦å·") |
| | | @Excel(name = "é¶è¡è´¦å·") |
| | | private String bankaccount; |
| | | |
| | | /** |
| | | * 䏿¥äººåç¼å· |
| | | */ |
| | | @ApiModelProperty("䏿¥äººåç¼å·") |
| | | @Excel(name = "䏿¥äººåç¼å·") |
| | | private String reporterNo; |
| | | |
| | | /** |
| | | * 䏿¥äººåå§å |
| | | */ |
| | | @ApiModelProperty("䏿¥äººåå§å") |
| | | @Excel(name = "䏿¥äººåå§å") |
| | | private String reporterName; |
| | | |
| | | /** |
| | | * åè°åç¼å· |
| | | */ |
| | | @ApiModelProperty("åè°åç¼å·") |
| | | @Excel(name = "åè°åç¼å·") |
| | | private String coordinatorNo; |
| | | |
| | | /** |
| | | * åè°åå§å |
| | | */ |
| | | @ApiModelProperty("åè°åå§å") |
| | | @Excel(name = "åè°åå§å") |
| | | private String coordinatorName; |
| | | |
| | | } |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * èå¤è®°å½å¯¹è±¡ service_attendancerecords |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Data |
| | | @ApiModel("èå¤è®°å½") |
| | | public class ServiceAttendancerecords extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * èå¤è®°å½ID |
| | | */ |
| | | @ApiModelProperty("èå¤è®°å½ID") |
| | | //æ°æ®åºèªå¢æ¹æ@TableId(type = IdType.AUTO) |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** |
| | | * 人åç¼å· |
| | | */ |
| | | @ApiModelProperty("人åç¼å·") |
| | | @Excel(name = "人åç¼å·") |
| | | private String userNo; |
| | | |
| | | /** |
| | | * 人åå§å |
| | | */ |
| | | @ApiModelProperty("人åå§å") |
| | | @Excel(name = "人åå§å") |
| | | private String userName; |
| | | |
| | | /** |
| | | * 人åé¨é¨ç¼å· |
| | | */ |
| | | @ApiModelProperty("人åé¨é¨ç¼å·") |
| | | @Excel(name = "人åé¨é¨ç¼å·") |
| | | private String deptNo; |
| | | |
| | | /** |
| | | * 人åé¨é¨åç§° |
| | | */ |
| | | @ApiModelProperty("人åé¨é¨åç§°") |
| | | @Excel(name = "人åé¨é¨åç§°") |
| | | private String deptName; |
| | | |
| | | /** |
| | | * è夿¥æ |
| | | */ |
| | | @ApiModelProperty("è夿¥æ") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "è夿¥æ", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date attendanceDate; |
| | | |
| | | /** |
| | | * ä¸çæå¡æ¶é´ |
| | | */ |
| | | @ApiModelProperty("ä¸çæå¡æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "ä¸çæå¡æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date clockInTime; |
| | | |
| | | /** |
| | | * ä¸çæå¡æ¶é´ |
| | | */ |
| | | @ApiModelProperty("ä¸çæå¡æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "ä¸çæå¡æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date clockOutTime; |
| | | |
| | | /** |
| | | * èå¤ç¶æ |
| | | */ |
| | | @ApiModelProperty("èå¤ç¶æ") |
| | | @Excel(name = "èå¤ç¶æ") |
| | | private String attendanceStatus; |
| | | |
| | | /** |
| | | * å®é
工使¶é¿ï¼åéï¼ |
| | | */ |
| | | @ApiModelProperty("å®é
工使¶é¿ï¼åéï¼") |
| | | @Excel(name = "å®é
工使¶é¿", readConverterExp = "å=é") |
| | | private Long workHoursMinutes; |
| | | |
| | | /** |
| | | * å çæ¶é¿ï¼åéï¼ |
| | | */ |
| | | @ApiModelProperty("å çæ¶é¿ï¼åéï¼") |
| | | @Excel(name = "å çæ¶é¿", readConverterExp = "å=é") |
| | | private Long overtimeMinutes; |
| | | |
| | | /** |
| | | * å ç/å¤åºåå |
| | | */ |
| | | @ApiModelProperty("å ç/å¤åºåå ") |
| | | @Excel(name = "å ç/å¤åºåå ") |
| | | private String reason; |
| | | |
| | | /** |
| | | * èå¤å¼å¸¸åå |
| | | */ |
| | | @ApiModelProperty("èå¤å¼å¸¸åå ") |
| | | @Excel(name = "èå¤å¼å¸¸åå ") |
| | | private String abnormalReason; |
| | | |
| | | /** |
| | | * ä¸çæå¡æ¹å¼ |
| | | */ |
| | | @ApiModelProperty("ä¸çæå¡æ¹å¼") |
| | | @Excel(name = "ä¸çæå¡æ¹å¼") |
| | | private String clockInMethod; |
| | | |
| | | /** |
| | | * ä¸çæå¡æ¹å¼ |
| | | */ |
| | | @ApiModelProperty("ä¸çæå¡æ¹å¼") |
| | | @Excel(name = "ä¸çæå¡æ¹å¼") |
| | | private String clockOutMethod; |
| | | |
| | | /** |
| | | * ä¸çæå¡å°ç¹ |
| | | */ |
| | | @ApiModelProperty("ä¸çæå¡å°ç¹") |
| | | @Excel(name = "ä¸çæå¡å°ç¹") |
| | | private String clockInLocation; |
| | | |
| | | /** |
| | | * ä¸çæå¡å°ç¹ |
| | | */ |
| | | @ApiModelProperty("ä¸çæå¡å°ç¹") |
| | | @Excel(name = "ä¸çæå¡å°ç¹") |
| | | private String clockOutLocation; |
| | | |
| | | /** |
| | | * æ°æ®æ¥æº |
| | | */ |
| | | @ApiModelProperty("æ°æ®æ¥æº") |
| | | @Excel(name = "æ°æ®æ¥æº") |
| | | private String dataSource; |
| | | |
| | | } |
| | | |
| | |
| | | /** |
| | | * å¹´é¾ |
| | | */ |
| | | @TableField(exist = false) |
| | | // @TableField(exist = false) |
| | | @ApiModelProperty("å¹´é¾") |
| | | private Long age; |
| | | |
| | | /** |
| | | * å¹´é¾åä½ |
| | | */ |
| | | @TableField(exist = false) |
| | | // @TableField(exist = false) |
| | | @ApiModelProperty("å¹´é¾åä½") |
| | | private String ageunit; |
| | | /** |
| | |
| | | * ä¿¡æ¯åå§å |
| | | */ |
| | | @ApiModelProperty("ä¿¡æ¯åå§å") |
| | | private String infoname; |
| | | private String infoName; |
| | | |
| | | /** |
| | | * ä¿¡æ¯åå§å |
| | | */ |
| | | @ApiModelProperty("ä¿¡æ¯åç¼å·") |
| | | private String infoNo; |
| | | |
| | | /** |
| | | * ä¿¡æ¯åèç³»æ¹å¼ |
| | |
| | | @ApiModelProperty("馿¬¡å»çæºæç§å®¤") |
| | | private String firstDept; |
| | | |
| | | /** |
| | | * GSCè¯å |
| | | */ |
| | | @ApiModelProperty("GSCè¯å") |
| | | @Excel(name = "GSCè¯å", readConverterExp = "GSCè¯å") |
| | | private String gcsScore; |
| | | |
| | | /** |
| | | * åè°åç¼å· |
| | | */ |
| | | @ApiModelProperty("åè°åç¼å·") |
| | | @Excel(name = "åè°åç¼å·", readConverterExp = "åè°åç¼å·") |
| | | private String coordinatorNo; |
| | | |
| | | /** |
| | | * åè°åå§å |
| | | */ |
| | | @ApiModelProperty("åè°åå§å") |
| | | @Excel(name = "åè°åå§å", readConverterExp = "åè°åå§å") |
| | | private String coordinatorName; |
| | | |
| | | |
| | | } |
| | |
| | | * åºçæ¥æ |
| | | */ |
| | | @ApiModelProperty("åºçæ¥æ") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "åºçæ¥æ", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | @JsonFormat(pattern = "yyyy-MM-dd") |
| | | @Excel(name = "åºçæ¥æ", width = 30, dateFormat = "yyyy-MM-dd") |
| | | private Date birthday; |
| | | |
| | | /** |
| | |
| | | */ |
| | | @ApiModelProperty("æ¥åè
ç¼å·") |
| | | @Excel(name = "æ¥åè
ç¼å·") |
| | | private String reporterno; |
| | | private String infoNo; |
| | | |
| | | /** |
| | | * æ¥åè
å§å |
| | | */ |
| | | @ApiModelProperty("æ¥åè
å§å") |
| | | @Excel(name = "æ¥åè
å§å") |
| | | private String reportername; |
| | | private String infoName; |
| | | |
| | | /** |
| | | * æ¥åè
èç³»çµè¯ |
| | |
| | | private Integer terminationCase; |
| | | |
| | | /** |
| | | * è系人ï¼åè°åç¼å·ï¼ |
| | | */ |
| | | @ApiModelProperty("è系人ï¼åè°åï¼") |
| | | @Excel(name = "è系人ï¼åè°åç¼å·ï¼", readConverterExp = "å=è°å") |
| | | private String userNo; |
| | | |
| | | /** |
| | | * è系人ï¼åè°åå§åï¼ |
| | | */ |
| | | @ApiModelProperty("è系人ï¼åè°åï¼") |
| | | @Excel(name = "è系人ï¼åè°åå§åï¼", readConverterExp = "å=è°å") |
| | | private String userName; |
| | | |
| | | /** |
| | | * è系人ï¼åè°åå§åï¼ |
| | | */ |
| | | @ApiModelProperty("é¨é¨ç¼å·") |
| | |
| | | */ |
| | | @ApiModelProperty("GSCè¯å") |
| | | @Excel(name = "GSCè¯å", readConverterExp = "GSCè¯å") |
| | | private String gscScore; |
| | | private String gcsScore; |
| | | |
| | | /** |
| | | * è¡å æ ¹æ®åå
¸sys_BloodType |
| | | */ |
| | | @ApiModelProperty("è¡å æ ¹æ®åå
¸sys_BloodType") |
| | | @Excel(name = "è¡å æ ¹æ®åå
¸sys_BloodType", readConverterExp = "è¡å æ ¹æ®åå
¸sys_BloodType") |
| | | private String bloodType; |
| | | |
| | | /** |
| | | * è¡å æ ¹æ®åå
¸sys_BloodType |
| | | */ |
| | | @ApiModelProperty("Rhé´æ§ 0ï¼å¦ï¼1ï¼æ¯") |
| | | @Excel(name = "Rhé´æ§ 0ï¼å¦ï¼1ï¼æ¯", readConverterExp = "Rhé´æ§ 0ï¼å¦ï¼1ï¼æ¯") |
| | | private String rhYin; |
| | | |
| | | /** |
| | | * æ¯å¦éè¦è½¬è¿ 1ï¼ä¸éè¦ 2éè¦ é»è®¤1 |
| | |
| | | @ApiModelProperty("转è¿ä¿¡æ¯") |
| | | private List<ServiceTransport> serviceTransport; |
| | | |
| | | /** |
| | | * åè°åç¼å· |
| | | */ |
| | | @ApiModelProperty("åè°åç¼å·") |
| | | @Excel(name = "åè°åç¼å·", readConverterExp = "åè°åç¼å·") |
| | | private String coordinatorNo; |
| | | |
| | | /** |
| | | * åè°åå§å |
| | | */ |
| | | @ApiModelProperty("åè°åå§å") |
| | | @Excel(name = "åè°åå§å", readConverterExp = "åè°åå§å") |
| | | private String coordinatorName; |
| | | |
| | | } |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.domain; |
| | | |
| | | import java.util.Date; |
| | | |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * ä¾ä½ç»´æ¤è®°å½å¯¹è±¡ service_donatemaintenance |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-12-27 |
| | | */ |
| | | @Data |
| | | @ApiModel("ä¾ä½ç»´æ¤è®°å½") |
| | | public class ServiceDonatemaintenance extends BaseEntity { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** |
| | | * $column.columnComment |
| | | */ |
| | | @ApiModelProperty("$column.columnComment") |
| | | //æ°æ®åºèªå¢æ¹æ@TableId(type = IdType.AUTO) |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** |
| | | * å
³èservice_donatebaseinfo表çID |
| | | */ |
| | | @ApiModelProperty("å
³èservice_donatebaseinfo表çID") |
| | | @Excel(name = "å
³èservice_donatebaseinfo表çID") |
| | | private Long infoid; |
| | | |
| | | /** |
| | | * æ¡ä¾ç¼å· |
| | | */ |
| | | @ApiModelProperty("æ¡ä¾ç¼å·") |
| | | @Excel(name = "æ¡ä¾ç¼å·") |
| | | private String caseNo; |
| | | |
| | | /** |
| | | * æç®è
ç¼å· |
| | | */ |
| | | @ApiModelProperty("æç®è
ç¼å·") |
| | | @Excel(name = "æç®è
ç¼å·") |
| | | private String donorno; |
| | | |
| | | /** |
| | | * ç»´æ¤é¡¹ç®ç¼å· |
| | | */ |
| | | @ApiModelProperty("ç»´æ¤é¡¹ç®ç¼å·") |
| | | @Excel(name = "ç»´æ¤é¡¹ç®ç¼å·") |
| | | private String itemNo; |
| | | |
| | | /** |
| | | * ç»´æ¤é¡¹ç®åç§° |
| | | */ |
| | | @ApiModelProperty("ç»´æ¤é¡¹ç®åç§°") |
| | | @Excel(name = "ç»´æ¤é¡¹ç®åç§°") |
| | | private String itemName; |
| | | |
| | | /** |
| | | * ç»´æé¡¹ç®æ¶é´ |
| | | */ |
| | | @ApiModelProperty("ç»´æé¡¹ç®æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "ç»´æé¡¹ç®æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date itemTime; |
| | | |
| | | /** |
| | | * 项ç®ç»´æ¤è¯¦æ
ï¼jsonç»æ |
| | | */ |
| | | @ApiModelProperty("项ç®ç»´æ¤è¯¦æ
ï¼jsonç»æ") |
| | | @Excel(name = "项ç®ç»´æ¤è¯¦æ
ï¼jsonç»æ") |
| | | private String itemDesc; |
| | | |
| | | } |
| | | |
| | |
| | | @Excel(name = "æææªè³æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date cutOffTime; |
| | | |
| | | |
| | | /** |
| | | * ä¸å®¶æéåºå· |
| | | */ |
| | | @ApiModelProperty("ä¸å®¶æéåºå·") |
| | | @Excel(name = "ä¸å®¶æéåºå·") |
| | | private Long orderNo; |
| | | |
| | | /** |
| | | * ä¸å®¶ç»è®º è§åå
¸ sys_0_1 |
| | | */ |
| | | @ApiModelProperty("ä¸å®¶ç»è®º è§åå
¸ sys_0_1 ") |
| | | @Excel(name = "ä¸å®¶ç»è®º è§åå
¸ sys_0_1 ") |
| | | private String expertConclusion; |
| | | |
| | | /** |
| | | * ä¸å®¶æè§ |
| | | */ |
| | | @ApiModelProperty("ä¸å®¶æè§") |
| | | @Excel(name = "ä¸å®¶æè§") |
| | | private String expertOpinion; |
| | | |
| | | /** |
| | | * ä¸å®¶ç¼å· |
| | | */ |
| | | @ApiModelProperty("ä¸å®¶ç¼å·") |
| | | @Excel(name = "ä¸å®¶ç¼å·") |
| | | private String expertNo; |
| | | |
| | | /** |
| | | * ä¸å®¶å§å |
| | | */ |
| | | @ApiModelProperty("ä¸å®¶å§å") |
| | | @Excel(name = "ä¸å®¶å§å") |
| | | private String expertName; |
| | | |
| | | /** |
| | | * ä¸å®¶ç±»å |
| | | */ |
| | | @ApiModelProperty("ä¸å®¶ç±»å") |
| | | @Excel(name = "ä¸å®¶ç±»å") |
| | | private String expertType; |
| | | |
| | | /** |
| | | * ä¸å®¶ç»è®ºæ¶é´ |
| | | */ |
| | | @ApiModelProperty("ä¸å®¶ç»è®ºæ¶é´") |
| | | @Excel(name = "ä¸å®¶ç»è®ºæ¶é´") |
| | | private Date expertTime; |
| | | |
| | | /** |
| | | * 0ï¼æ°å»º;1ï¼å®¡æ¥ä¸;2ï¼ç»æ |
| | | */ |
| | | @ApiModelProperty("0ï¼æ°å»º;1ï¼å®¡æ¥ä¸;2ï¼ç»æ") |
| | | @Excel(name = "0ï¼æ°å»º;1ï¼å®¡æ¥ä¸;2ï¼ç»æ") |
| | | private String status; |
| | | |
| | | |
| | | } |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.domain; |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * ä¼è®®çºªè¦å¯¹è±¡ service_meeting |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Data |
| | | @ApiModel("ä¼è®®çºªè¦") |
| | | public class ServiceMeeting extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** ä¼è®®ID */ |
| | | @ApiModelProperty("ä¼è®®ID") |
| | | //æ°æ®åºèªå¢æ¹æ@TableId(type = IdType.AUTO) |
| | | @TableId(type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** ä¼è®®ç¼å· */ |
| | | @ApiModelProperty("ä¼è®®ç¼å·") |
| | | @Excel(name = "ä¼è®®ç¼å·") |
| | | private String meetingNumber; |
| | | |
| | | /** ä¼è®®æ é¢ */ |
| | | @ApiModelProperty("ä¼è®®æ é¢") |
| | | @Excel(name = "ä¼è®®æ é¢") |
| | | private String title; |
| | | |
| | | /** ä¼è®®ç±»åID */ |
| | | @ApiModelProperty("ä¼è®®ç±»åID") |
| | | @Excel(name = "ä¼è®®ç±»åID") |
| | | private Integer typeId; |
| | | |
| | | /** ä¼è®®å°ç¹ID */ |
| | | @ApiModelProperty("ä¼è®®å°ç¹ID") |
| | | @Excel(name = "ä¼è®®å°ç¹ID") |
| | | private Integer locationId; |
| | | |
| | | /** ç»ç»è
ID */ |
| | | @ApiModelProperty("ç»ç»è
ID") |
| | | @Excel(name = "ç»ç»è
ID") |
| | | private Integer organizerId; |
| | | |
| | | /** ä¼è®®å¼å§æ¶é´ */ |
| | | @ApiModelProperty("ä¼è®®å¼å§æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "ä¼è®®å¼å§æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date startTime; |
| | | |
| | | /** ä¼è®®ç»ææ¶é´ */ |
| | | @ApiModelProperty("ä¼è®®ç»ææ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "ä¼è®®ç»ææ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date endTime; |
| | | |
| | | /** ä¼è®®æ¦è¦ */ |
| | | @ApiModelProperty("ä¼è®®æ¦è¦") |
| | | @Excel(name = "ä¼è®®æ¦è¦") |
| | | private String summary; |
| | | |
| | | /** ä¼è®®å
·ä½å
容(坿æ¬) */ |
| | | @ApiModelProperty("ä¼è®®å
·ä½å
容(坿æ¬)") |
| | | @Excel(name = "ä¼è®®å
·ä½å
容(坿æ¬)") |
| | | private String content; |
| | | |
| | | /** éä»¶ä¿¡æ¯(JSONæ ¼å¼) */ |
| | | @ApiModelProperty("éä»¶ä¿¡æ¯(JSONæ ¼å¼)") |
| | | @Excel(name = "éä»¶ä¿¡æ¯(JSONæ ¼å¼)") |
| | | private String attachment; |
| | | |
| | | /** ç¶æ(1:å¾
å¼å§,2:è¿è¡ä¸,3:å·²ç»æ,4:已忶) */ |
| | | @ApiModelProperty("ç¶æ(1:å¾
å¼å§,2:è¿è¡ä¸,3:å·²ç»æ,4:已忶)") |
| | | @Excel(name = "ç¶æ(1:å¾
å¼å§,2:è¿è¡ä¸,3:å·²ç»æ,4:已忶)") |
| | | private Integer status; |
| | | |
| | | /** æ¯å¦ä¸ºç³»åä¼è®®(1:æ¯,0:å¦) */ |
| | | @ApiModelProperty("æ¯å¦ä¸ºç³»åä¼è®®(1:æ¯,0:å¦)") |
| | | @Excel(name = "æ¯å¦ä¸ºç³»åä¼è®®(1:æ¯,0:å¦)") |
| | | private Integer isRecurring; |
| | | |
| | | /** é夿¨¡å¼ */ |
| | | @ApiModelProperty("é夿¨¡å¼") |
| | | @Excel(name = "é夿¨¡å¼") |
| | | private String recurringPattern; |
| | | |
| | | /** ç¶ä¼è®®ID(ç¨äºå¤å¶æç³»åä¼è®®) */ |
| | | @ApiModelProperty("ç¶ä¼è®®ID(ç¨äºå¤å¶æç³»åä¼è®®)") |
| | | @Excel(name = "ç¶ä¼è®®ID(ç¨äºå¤å¶æç³»åä¼è®®)") |
| | | private Integer parentMeetingId; |
| | | |
| | | /** æåæéåéæ° */ |
| | | @ApiModelProperty("æåæéåéæ°") |
| | | @Excel(name = "æåæéåéæ°") |
| | | private Long reminderMinutes; |
| | | |
| | | /** 纪è¦å
容 */ |
| | | @ApiModelProperty("纪è¦å
容") |
| | | @Excel(name = "纪è¦å
容") |
| | | private String recordcontent; |
| | | |
| | | /** 纪è¦éä»¶(JSONæ ¼å¼) */ |
| | | @ApiModelProperty("纪è¦éä»¶(JSONæ ¼å¼)") |
| | | @Excel(name = "纪è¦éä»¶(JSONæ ¼å¼)") |
| | | private String recordattachment; |
| | | |
| | | /** è®°å½äºº */ |
| | | @ApiModelProperty("è®°å½äºº") |
| | | @Excel(name = "è®°å½äºº") |
| | | private String recorderBy; |
| | | |
| | | /** å建æ¶é´ */ |
| | | @ApiModelProperty("å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "å建æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date recorderTime; |
| | | |
| | | /** å®¡æ ¸äººID */ |
| | | @ApiModelProperty("å®¡æ ¸äººID") |
| | | @Excel(name = "å®¡æ ¸äººID") |
| | | private String approverBy; |
| | | |
| | | /** å®¡æ ¸ç¶æ(0:å¾
å®¡æ ¸,1:å·²éè¿,2:已驳å) */ |
| | | @ApiModelProperty("å®¡æ ¸ç¶æ(0:å¾
å®¡æ ¸,1:å·²éè¿,2:已驳å)") |
| | | @Excel(name = "å®¡æ ¸ç¶æ(0:å¾
å®¡æ ¸,1:å·²éè¿,2:已驳å)") |
| | | private Integer approvalStatus; |
| | | |
| | | /** å®¡æ ¸æ¶é´ */ |
| | | @ApiModelProperty("å®¡æ ¸æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "å®¡æ ¸æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date approvalTime; |
| | | |
| | | /** å建人 */ |
| | | @ApiModelProperty("å建人") |
| | | @Excel(name = "å建人") |
| | | private String createdBy; |
| | | |
| | | /** å建æ¶é´ */ |
| | | @ApiModelProperty("å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "å建æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date createdTime; |
| | | |
| | | /** æ´æ°äºº */ |
| | | @ApiModelProperty("æ´æ°äºº") |
| | | @Excel(name = "æ´æ°äºº") |
| | | private String updatedBy; |
| | | |
| | | /** æ´æ°æ¶é´ */ |
| | | @ApiModelProperty("æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "æ´æ°æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date updatedTime; |
| | | |
| | | } |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.domain; |
| | | |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * åä¼äººå对象 service_meeting_participant |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Data |
| | | @ApiModel("åä¼äººå") |
| | | public class ServiceMeetingParticipant extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** åä¼è®°å½ID */ |
| | | @ApiModelProperty("åä¼è®°å½ID") |
| | | //æ°æ®åºèªå¢æ¹æ@TableId(type = IdType.AUTO) |
| | | @TableId(type = IdType.AUTO) |
| | | private Integer id; |
| | | |
| | | /** ä¼è®®ID */ |
| | | @ApiModelProperty("ä¼è®®ID") |
| | | @Excel(name = "ä¼è®®ID") |
| | | private Integer meetingId; |
| | | |
| | | /** ç¨æ·ç¼å· */ |
| | | @ApiModelProperty("ç¨æ·ç¼å·") |
| | | @Excel(name = "ç¨æ·ç¼å·") |
| | | private String userNo; |
| | | |
| | | /** ç¨æ·å§å */ |
| | | @ApiModelProperty("ç¨æ·å§å") |
| | | @Excel(name = "ç¨æ·å§å") |
| | | private String userName; |
| | | |
| | | /** è§è²(host:主æäºº,participant:åä¼äºº,guest:å宾) */ |
| | | @ApiModelProperty("è§è²(host:主æäºº,participant:åä¼äºº,guest:å宾)") |
| | | @Excel(name = "è§è²(host:主æäºº,participant:åä¼äºº,guest:å宾)") |
| | | private String role; |
| | | |
| | | /** åºå¸ç¶æ(0:æªç¡®è®¤,1:已确认,2:å·²æç»,3:å·²åºå¸,4:æªåºå¸) */ |
| | | @ApiModelProperty("åºå¸ç¶æ(0:æªç¡®è®¤,1:已确认,2:å·²æç»,3:å·²åºå¸,4:æªåºå¸)") |
| | | @Excel(name = "åºå¸ç¶æ(0:æªç¡®è®¤,1:已确认,2:å·²æç»,3:å·²åºå¸,4:æªåºå¸)") |
| | | private Integer attendanceStatus; |
| | | |
| | | /** æ¯å¦å¿
éåä¼(1:æ¯,0:å¦) */ |
| | | @ApiModelProperty("æ¯å¦å¿
éåä¼(1:æ¯,0:å¦)") |
| | | @Excel(name = "æ¯å¦å¿
éåä¼(1:æ¯,0:å¦)") |
| | | private Integer isRequired; |
| | | |
| | | /** 确认æ¶é´ */ |
| | | @ApiModelProperty("确认æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "确认æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date confirmationTime; |
| | | |
| | | /** ç¾å°æ¶é´ */ |
| | | @ApiModelProperty("ç¾å°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "ç¾å°æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date checkInTime; |
| | | |
| | | /** ç¾éæ¶é´ */ |
| | | @ApiModelProperty("ç¾éæ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "ç¾éæ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date checkOutTime; |
| | | |
| | | /** å建人 */ |
| | | @ApiModelProperty("å建人") |
| | | @Excel(name = "å建人") |
| | | private String createdBy; |
| | | |
| | | /** å建æ¶é´ */ |
| | | @ApiModelProperty("å建æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "å建æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date createdTime; |
| | | |
| | | /** æ´æ°äºº */ |
| | | @ApiModelProperty("æ´æ°äºº") |
| | | @Excel(name = "æ´æ°äºº") |
| | | private String updatedBy; |
| | | |
| | | /** æ´æ°æ¶é´ */ |
| | | @ApiModelProperty("æ´æ°æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "æ´æ°æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date updatedTime; |
| | | |
| | | } |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.domain; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import com.fasterxml.jackson.annotation.JsonFormat; |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * 人åè¿ä¿®ç®¡ç对象 service_training_records |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Data |
| | | @ApiModel("人åè¿ä¿®ç®¡ç") |
| | | public class ServiceTrainingRecords extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** è®°å½IDï¼ä¸»é®ï¼ */ |
| | | @ApiModelProperty("è®°å½IDï¼ä¸»é®ï¼") |
| | | //æ°æ®åºèªå¢æ¹æ@TableId(type = IdType.AUTO) |
| | | @TableId(type = IdType.AUTO) |
| | | private Long id; |
| | | |
| | | /** å§å */ |
| | | @ApiModelProperty("å§å") |
| | | @Excel(name = "å§å") |
| | | private String name; |
| | | |
| | | /** æ§å« */ |
| | | @ApiModelProperty("æ§å«") |
| | | @Excel(name = "æ§å«") |
| | | private String sex; |
| | | |
| | | /** å¹´é¾ */ |
| | | @ApiModelProperty("å¹´é¾") |
| | | @Excel(name = "å¹´é¾") |
| | | private Integer age; |
| | | |
| | | /** å¦å */ |
| | | @ApiModelProperty("å¦å") |
| | | @Excel(name = "å¦å") |
| | | private String education; |
| | | |
| | | /** è¿ä¿®ç±»å */ |
| | | @ApiModelProperty("è¿ä¿®ç±»å") |
| | | @Excel(name = "è¿ä¿®ç±»å") |
| | | private String trainingType; |
| | | |
| | | /** 身份è¯å·ç ï¼å¯ä¸ï¼ */ |
| | | @ApiModelProperty("身份è¯å·ç ï¼å¯ä¸ï¼") |
| | | @Excel(name = "身份è¯å·ç ", readConverterExp = "å¯=ä¸") |
| | | private String idCard; |
| | | |
| | | /** æ¯ä¸é¢æ ¡ */ |
| | | @ApiModelProperty("æ¯ä¸é¢æ ¡") |
| | | @Excel(name = "æ¯ä¸é¢æ ¡") |
| | | private String graduationSchool; |
| | | |
| | | /** æå¨åä½ */ |
| | | @ApiModelProperty("æå¨åä½") |
| | | @Excel(name = "æå¨åä½") |
| | | private String workUnit; |
| | | |
| | | /** ææ¯èç§° */ |
| | | @ApiModelProperty("ææ¯èç§°") |
| | | @Excel(name = "ææ¯èç§°") |
| | | private String technicalTitle; |
| | | |
| | | /** ä»äºä¸ä¸ */ |
| | | @ApiModelProperty("ä»äºä¸ä¸") |
| | | @Excel(name = "ä»äºä¸ä¸") |
| | | private String profession; |
| | | |
| | | /** å·¥ä½å¹´éï¼å¹´ï¼ */ |
| | | @ApiModelProperty("å·¥ä½å¹´éï¼å¹´ï¼") |
| | | @Excel(name = "å·¥ä½å¹´é", readConverterExp = "å¹´=") |
| | | private BigDecimal workYears; |
| | | |
| | | /** è¿ä¿®ç®æ */ |
| | | @ApiModelProperty("è¿ä¿®ç®æ ") |
| | | @Excel(name = "è¿ä¿®ç®æ ") |
| | | private String trainingGoal; |
| | | |
| | | /** è¿ä¿®å¼å§æ¶é´ */ |
| | | @ApiModelProperty("è¿ä¿®å¼å§æ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "è¿ä¿®å¼å§æ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date trainingStartDate; |
| | | |
| | | /** è¿ä¿®ç»ææ¶é´ */ |
| | | @ApiModelProperty("è¿ä¿®ç»ææ¶é´") |
| | | @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss") |
| | | @Excel(name = "è¿ä¿®ç»ææ¶é´", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss") |
| | | private Date trainingEndDate; |
| | | |
| | | /** è¿ä¿®ä¸ä¸ */ |
| | | @ApiModelProperty("è¿ä¿®ä¸ä¸") |
| | | @Excel(name = "è¿ä¿®ä¸ä¸") |
| | | private String trainingMajor; |
| | | |
| | | /** ä»äºå·¥ä½æ
åµ */ |
| | | @ApiModelProperty("ä»äºå·¥ä½æ
åµ") |
| | | @Excel(name = "ä»äºå·¥ä½æ
åµ") |
| | | private String workSituation; |
| | | |
| | | /** æ¬æ¬¡ç³è¯·è¿ä¿®ç§ç® */ |
| | | @ApiModelProperty("æ¬æ¬¡ç³è¯·è¿ä¿®ç§ç®") |
| | | @Excel(name = "æ¬æ¬¡ç³è¯·è¿ä¿®ç§ç®") |
| | | private String applySubject; |
| | | |
| | | /** è¿ä¿®ç®çè¦æ± */ |
| | | @ApiModelProperty("è¿ä¿®ç®çè¦æ±") |
| | | @Excel(name = "è¿ä¿®ç®çè¦æ±") |
| | | private String applyPurpose; |
| | | |
| | | /** 主è¦å¦å */ |
| | | @ApiModelProperty("主è¦å¦å") |
| | | @Excel(name = "主è¦å¦å") |
| | | private String mainEducation; |
| | | |
| | | /** 主è¦å·¥ä½ç»å */ |
| | | @ApiModelProperty("主è¦å·¥ä½ç»å") |
| | | @Excel(name = "主è¦å·¥ä½ç»å") |
| | | private String mainExperience; |
| | | |
| | | /** è®°å½ç¶æ */ |
| | | @ApiModelProperty("è®°å½ç¶æ") |
| | | @Excel(name = "è®°å½ç¶æ") |
| | | private String recordStatus; |
| | | |
| | | /** æ¯å¦ä¸ºå¤å¶è®°å½ï¼0:å¦ï¼1:æ¯ï¼ */ |
| | | @ApiModelProperty("æ¯å¦ä¸ºå¤å¶è®°å½ï¼0:å¦ï¼1:æ¯ï¼") |
| | | @Excel(name = "æ¯å¦ä¸ºå¤å¶è®°å½", readConverterExp = "0=:å¦ï¼1:æ¯") |
| | | private Integer isCopy; |
| | | |
| | | /** åè®°å½IDï¼å¦ææ¯å¤å¶è®°å½ï¼ */ |
| | | @ApiModelProperty("åè®°å½IDï¼å¦ææ¯å¤å¶è®°å½ï¼") |
| | | @Excel(name = "åè®°å½ID", readConverterExp = "å¦=ææ¯å¤å¶è®°å½") |
| | | private Long originalId; |
| | | |
| | | } |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.IdType; |
| | | import com.baomidou.mybatisplus.annotation.TableId; |
| | | import com.ruoyi.common.annotation.Excel; |
| | | import com.ruoyi.common.core.domain.BaseEntity; |
| | | import io.swagger.annotations.ApiModel; |
| | | import io.swagger.annotations.ApiModelProperty; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | | * VIEW对象 v_user_org |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-12-27 |
| | | */ |
| | | @Data |
| | | @ApiModel("VIEW") |
| | | public class VUserOrg extends BaseEntity |
| | | { |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | /** ç¨æ·ID */ |
| | | @ApiModelProperty("ç¨æ·ID") |
| | | @Excel(name = "ç¨æ·ID") |
| | | private Long userId; |
| | | |
| | | /** å¸å·ç¶æï¼0æ£å¸¸ 1åç¨ï¼ */ |
| | | @ApiModelProperty("å¸å·ç¶æï¼0æ£å¸¸ 1åç¨ï¼") |
| | | @Excel(name = "å¸å·ç¶æ", readConverterExp = "0=æ£å¸¸,1=åç¨") |
| | | private String status; |
| | | |
| | | /** ç¨æ·è´¦å· */ |
| | | @ApiModelProperty("ç¨æ·è´¦å·") |
| | | @Excel(name = "ç¨æ·è´¦å·") |
| | | private String userName; |
| | | |
| | | /** ç¨æ·æµç§° */ |
| | | @ApiModelProperty("ç¨æ·æµç§°") |
| | | @Excel(name = "ç¨æ·æµç§°") |
| | | private String nickName; |
| | | |
| | | /** ç¨æ·ç±»åï¼00ç³»ç»ç¨æ·ï¼ */ |
| | | @ApiModelProperty("ç¨æ·ç±»åï¼00ç³»ç»ç¨æ·ï¼") |
| | | @Excel(name = "ç¨æ·ç±»å", readConverterExp = "0=0ç³»ç»ç¨æ·") |
| | | private String userType; |
| | | |
| | | /** ææºå·ç */ |
| | | @ApiModelProperty("ææºå·ç ") |
| | | @Excel(name = "ææºå·ç ") |
| | | private String phonenumber; |
| | | |
| | | /** é¨é¨ID */ |
| | | @ApiModelProperty("é¨é¨ID") |
| | | @Excel(name = "é¨é¨ID") |
| | | private Long deptId; |
| | | |
| | | /** 主é®èªå¢ */ |
| | | @ApiModelProperty("主é®èªå¢") |
| | | @Excel(name = "主é®èªå¢") |
| | | private Long orgId; |
| | | |
| | | /** ç»ç»ç¼å· */ |
| | | @ApiModelProperty("ç»ç»ç¼å·") |
| | | @Excel(name = "ç»ç»ç¼å·") |
| | | private String organizationid; |
| | | |
| | | /** ç»ç»åç§° */ |
| | | @ApiModelProperty("ç»ç»åç§°") |
| | | @Excel(name = "ç»ç»åç§°") |
| | | private String organizationname; |
| | | |
| | | /** åè°åç¼å· */ |
| | | @ApiModelProperty("åè°åç¼å·") |
| | | @Excel(name = "åè°åç¼å·") |
| | | private String coordinatorNo; |
| | | |
| | | /** åè°åå§å */ |
| | | @ApiModelProperty("åè°åå§å") |
| | | @Excel(name = "åè°åå§å") |
| | | private String coordinatorName; |
| | | |
| | | } |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.project.domain.ServiceAttendancerecords; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * èå¤è®°å½Mapperæ¥å£ |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Mapper |
| | | public interface ServiceAttendancerecordsMapper extends BaseMapper<ServiceAttendancerecords> |
| | | { |
| | | /** |
| | | * æ¥è¯¢èå¤è®°å½å表 |
| | | * |
| | | * @param serviceAttendancerecords èå¤è®°å½ |
| | | * @return èå¤è®°å½éå |
| | | */ |
| | | public List<ServiceAttendancerecords> selectServiceAttendancerecordsList(ServiceAttendancerecords serviceAttendancerecords); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.project.domain.ServiceDonatemaintenance; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ä¾ä½ç»´æ¤è®°å½Mapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-12-27 |
| | | */ |
| | | @Mapper |
| | | public interface ServiceDonatemaintenanceMapper extends BaseMapper<ServiceDonatemaintenance> { |
| | | /** |
| | | * æ¥è¯¢ä¾ä½ç»´æ¤è®°å½å表 |
| | | * |
| | | * @param serviceDonatemaintenance ä¾ä½ç»´æ¤è®°å½ |
| | | * @return ä¾ä½ç»´æ¤è®°å½éå |
| | | */ |
| | | public List<ServiceDonatemaintenance> selectServiceDonatemaintenanceList(ServiceDonatemaintenance serviceDonatemaintenance); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import com.ruoyi.project.domain.ServiceMeeting; |
| | | |
| | | /** |
| | | * ä¼è®®çºªè¦Mapperæ¥å£ |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Mapper |
| | | public interface ServiceMeetingMapper extends BaseMapper<ServiceMeeting> |
| | | { |
| | | /** |
| | | * æ¥è¯¢ä¼è®®çºªè¦å表 |
| | | * |
| | | * @param serviceMeeting ä¼è®®çºªè¦ |
| | | * @return ä¼è®®çºªè¦éå |
| | | */ |
| | | public List<ServiceMeeting> selectServiceMeetingList(ServiceMeeting serviceMeeting); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import com.ruoyi.project.domain.ServiceMeetingParticipant; |
| | | |
| | | /** |
| | | * åä¼äººåMapperæ¥å£ |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Mapper |
| | | public interface ServiceMeetingParticipantMapper extends BaseMapper<ServiceMeetingParticipant> |
| | | { |
| | | /** |
| | | * æ¥è¯¢åä¼äººåå表 |
| | | * |
| | | * @param serviceMeetingParticipant åä¼äººå |
| | | * @return åä¼äººåéå |
| | | */ |
| | | public List<ServiceMeetingParticipant> selectServiceMeetingParticipantList(ServiceMeetingParticipant serviceMeetingParticipant); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.mapper; |
| | | |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import java.util.List; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | import com.ruoyi.project.domain.ServiceTrainingRecords; |
| | | |
| | | /** |
| | | * 人åè¿ä¿®ç®¡çMapperæ¥å£ |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Mapper |
| | | public interface ServiceTrainingRecordsMapper extends BaseMapper<ServiceTrainingRecords> |
| | | { |
| | | /** |
| | | * æ¥è¯¢äººåè¿ä¿®ç®¡çå表 |
| | | * |
| | | * @param serviceTrainingRecords 人åè¿ä¿®ç®¡ç |
| | | * @return 人åè¿ä¿®ç®¡çéå |
| | | */ |
| | | public List<ServiceTrainingRecords> selectServiceTrainingRecordsList(ServiceTrainingRecords serviceTrainingRecords); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.mapper; |
| | | |
| | | import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
| | | import com.ruoyi.project.domain.VUserOrg; |
| | | import org.apache.ibatis.annotations.Mapper; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * VIEWMapperæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-12-27 |
| | | */ |
| | | @Mapper |
| | | public interface VUserOrgMapper extends BaseMapper<VUserOrg> |
| | | { |
| | | /** |
| | | * æ¥è¯¢VIEWå表 |
| | | * |
| | | * @param vUserOrg VIEW |
| | | * @return VIEWéå |
| | | */ |
| | | public List<VUserOrg> selectVUserOrgList(VUserOrg vUserOrg); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service; |
| | | |
| | | import java.util.List; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.project.domain.ServiceAttendancerecords; |
| | | |
| | | /** |
| | | * èå¤è®°å½Serviceæ¥å£ |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | public interface IServiceAttendancerecordsService extends IService<ServiceAttendancerecords> |
| | | { |
| | | |
| | | /** |
| | | * æ¥è¯¢èå¤è®°å½å表 |
| | | * |
| | | * @param serviceAttendancerecords èå¤è®°å½ |
| | | * @return èå¤è®°å½éå |
| | | */ |
| | | public List<ServiceAttendancerecords> queryList(ServiceAttendancerecords serviceAttendancerecords); |
| | | } |
| | |
| | | * @param serviceDonatebaseinfoReport æç®ä¸æ¥åºç¡ |
| | | * @return æç®ä¸æ¥åºç¡éå |
| | | */ |
| | | public Map<String,Object> getTotal(ServiceDonatebaseinfoReport serviceDonatebaseinfoReport, String type); |
| | | public Map<String, Object> getTotal(ServiceDonatebaseinfoReport serviceDonatebaseinfoReport, String type); |
| | | |
| | | /** |
| | | * 建档 |
| | | */ |
| | | public Boolean createDocument(ServiceDonatebaseinfoReport serviceDonatebaseinfoReport); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.project.domain.ServiceDonatemaintenance; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ä¾ä½ç»´æ¤è®°å½Serviceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-12-27 |
| | | */ |
| | | public interface IServiceDonatemaintenanceService extends IService<ServiceDonatemaintenance> |
| | | { |
| | | |
| | | /** |
| | | * æ¥è¯¢ä¾ä½ç»´æ¤è®°å½å表 |
| | | * |
| | | * @param serviceDonatemaintenance ä¾ä½ç»´æ¤è®°å½ |
| | | * @return ä¾ä½ç»´æ¤è®°å½éå |
| | | */ |
| | | public List<ServiceDonatemaintenance> queryList(ServiceDonatemaintenance serviceDonatemaintenance); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service; |
| | | |
| | | import java.util.List; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.project.domain.ServiceMeetingParticipant; |
| | | |
| | | /** |
| | | * åä¼äººåServiceæ¥å£ |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | public interface IServiceMeetingParticipantService extends IService<ServiceMeetingParticipant> |
| | | { |
| | | |
| | | /** |
| | | * æ¥è¯¢åä¼äººåå表 |
| | | * |
| | | * @param serviceMeetingParticipant åä¼äººå |
| | | * @return åä¼äººåéå |
| | | */ |
| | | public List<ServiceMeetingParticipant> queryList(ServiceMeetingParticipant serviceMeetingParticipant); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service; |
| | | |
| | | import java.util.List; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.project.domain.ServiceMeeting; |
| | | |
| | | /** |
| | | * ä¼è®®çºªè¦Serviceæ¥å£ |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | public interface IServiceMeetingService extends IService<ServiceMeeting> |
| | | { |
| | | |
| | | /** |
| | | * æ¥è¯¢ä¼è®®çºªè¦å表 |
| | | * |
| | | * @param serviceMeeting ä¼è®®çºªè¦ |
| | | * @return ä¼è®®çºªè¦éå |
| | | */ |
| | | public List<ServiceMeeting> queryList(ServiceMeeting serviceMeeting); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service; |
| | | |
| | | import java.util.List; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.project.domain.ServiceTrainingRecords; |
| | | |
| | | /** |
| | | * 人åè¿ä¿®ç®¡çServiceæ¥å£ |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | public interface IServiceTrainingRecordsService extends IService<ServiceTrainingRecords> |
| | | { |
| | | |
| | | /** |
| | | * æ¥è¯¢äººåè¿ä¿®ç®¡çå表 |
| | | * |
| | | * @param serviceTrainingRecords 人åè¿ä¿®ç®¡ç |
| | | * @return 人åè¿ä¿®ç®¡çéå |
| | | */ |
| | | public List<ServiceTrainingRecords> queryList(ServiceTrainingRecords serviceTrainingRecords); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.project.domain.VUserOrg; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * VIEWServiceæ¥å£ |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-12-27 |
| | | */ |
| | | public interface IVUserOrgService extends IService<VUserOrg> |
| | | { |
| | | |
| | | /** |
| | | * æ¥è¯¢VIEWå表 |
| | | * |
| | | * @param vUserOrg VIEW |
| | | * @return VIEWéå |
| | | */ |
| | | public List<VUserOrg> queryList(VUserOrg vUserOrg); |
| | | } |
| | |
| | | if (StringUtils.isNotBlank(baseOrganization.getCommunity())) { |
| | | wrappers.eq(BaseOrganization::getCommunity, baseOrganization.getCommunity()); |
| | | } |
| | | if (StringUtils.isNotBlank(baseOrganization.getReporterNo())) { |
| | | wrappers.eq(BaseOrganization::getReporterNo, baseOrganization.getReporterNo()); |
| | | } |
| | | if (StringUtils.isNotBlank(baseOrganization.getReporterName())) { |
| | | wrappers.eq(BaseOrganization::getReporterName, baseOrganization.getReporterName()); |
| | | } |
| | | if (StringUtils.isNotBlank(baseOrganization.getCoordinatorNo())) { |
| | | wrappers.eq(BaseOrganization::getCoordinatorNo, baseOrganization.getCoordinatorNo()); |
| | | } |
| | | if (StringUtils.isNotBlank(baseOrganization.getCoordinatorName())) { |
| | | wrappers.eq(BaseOrganization::getCoordinatorName, baseOrganization.getCoordinatorName()); |
| | | } |
| | | if (StringUtils.isNotBlank(baseOrganization.getCommunityname())) { |
| | | wrappers.like(BaseOrganization::getCommunityname, baseOrganization.getCommunityname()); |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import java.util.ArrayList; |
| | | import java.util.Map; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.project.mapper.ServiceAttendancerecordsMapper; |
| | | import com.ruoyi.project.domain.ServiceAttendancerecords; |
| | | import com.ruoyi.project.service.IServiceAttendancerecordsService; |
| | | |
| | | /** |
| | | * èå¤è®°å½Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Service |
| | | public class ServiceAttendancerecordsServiceImpl extends ServiceImpl<ServiceAttendancerecordsMapper, ServiceAttendancerecords> implements IServiceAttendancerecordsService |
| | | { |
| | | |
| | | |
| | | /** |
| | | * æ¥è¯¢èå¤è®°å½å表 |
| | | * |
| | | * @param serviceAttendancerecords èå¤è®°å½ |
| | | * @return èå¤è®°å½ |
| | | */ |
| | | @Override |
| | | public List<ServiceAttendancerecords> queryList(ServiceAttendancerecords serviceAttendancerecords) { |
| | | LambdaQueryWrapper<ServiceAttendancerecords> wrappers = Wrappers.lambdaQuery(); |
| | | if (StringUtils.isNotBlank(serviceAttendancerecords.getUserNo())){ |
| | | wrappers.eq(ServiceAttendancerecords::getUserNo ,serviceAttendancerecords.getUserNo()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceAttendancerecords.getUserName())){ |
| | | wrappers.like(ServiceAttendancerecords::getUserName ,serviceAttendancerecords.getUserName()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceAttendancerecords.getDeptNo())){ |
| | | wrappers.eq(ServiceAttendancerecords::getDeptNo ,serviceAttendancerecords.getDeptNo()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceAttendancerecords.getDeptName())){ |
| | | wrappers.like(ServiceAttendancerecords::getDeptName ,serviceAttendancerecords.getDeptName()); |
| | | } |
| | | if (serviceAttendancerecords.getAttendanceDate() != null){ |
| | | wrappers.eq(ServiceAttendancerecords::getAttendanceDate ,serviceAttendancerecords.getAttendanceDate()); |
| | | } |
| | | if (serviceAttendancerecords.getClockInTime() != null){ |
| | | wrappers.eq(ServiceAttendancerecords::getClockInTime ,serviceAttendancerecords.getClockInTime()); |
| | | } |
| | | if (serviceAttendancerecords.getClockOutTime() != null){ |
| | | wrappers.eq(ServiceAttendancerecords::getClockOutTime ,serviceAttendancerecords.getClockOutTime()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceAttendancerecords.getAttendanceStatus())){ |
| | | wrappers.eq(ServiceAttendancerecords::getAttendanceStatus ,serviceAttendancerecords.getAttendanceStatus()); |
| | | } |
| | | if (serviceAttendancerecords.getWorkHoursMinutes() != null){ |
| | | wrappers.eq(ServiceAttendancerecords::getWorkHoursMinutes ,serviceAttendancerecords.getWorkHoursMinutes()); |
| | | } |
| | | if (serviceAttendancerecords.getOvertimeMinutes() != null){ |
| | | wrappers.eq(ServiceAttendancerecords::getOvertimeMinutes ,serviceAttendancerecords.getOvertimeMinutes()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceAttendancerecords.getReason())){ |
| | | wrappers.eq(ServiceAttendancerecords::getReason ,serviceAttendancerecords.getReason()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceAttendancerecords.getAbnormalReason())){ |
| | | wrappers.eq(ServiceAttendancerecords::getAbnormalReason ,serviceAttendancerecords.getAbnormalReason()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceAttendancerecords.getClockInMethod())){ |
| | | wrappers.eq(ServiceAttendancerecords::getClockInMethod ,serviceAttendancerecords.getClockInMethod()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceAttendancerecords.getClockOutMethod())){ |
| | | wrappers.eq(ServiceAttendancerecords::getClockOutMethod ,serviceAttendancerecords.getClockOutMethod()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceAttendancerecords.getClockInLocation())){ |
| | | wrappers.eq(ServiceAttendancerecords::getClockInLocation ,serviceAttendancerecords.getClockInLocation()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceAttendancerecords.getClockOutLocation())){ |
| | | wrappers.eq(ServiceAttendancerecords::getClockOutLocation ,serviceAttendancerecords.getClockOutLocation()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceAttendancerecords.getDataSource())){ |
| | | wrappers.eq(ServiceAttendancerecords::getDataSource ,serviceAttendancerecords.getDataSource()); |
| | | } |
| | | return this.list(wrappers); |
| | | } |
| | | |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.common.utils.bean.DtoConversionUtils; |
| | | import com.ruoyi.project.common.CalculateDateUtils; |
| | | import com.ruoyi.project.domain.ServiceDonatebaseinfo; |
| | | import com.ruoyi.project.domain.ServiceDonatebaseinfoReport; |
| | | import com.ruoyi.project.domain.ServiceDonatebaseinfoReportFile; |
| | | import com.ruoyi.project.domain.ServiceTransport; |
| | | import com.ruoyi.project.mapper.ServiceDonatebaseinfoReportMapper; |
| | | import com.ruoyi.project.service.IServiceDonatebaseinfoReportFileService; |
| | | import com.ruoyi.project.service.IServiceDonatebaseinfoReportService; |
| | | import com.ruoyi.project.service.IServiceDonatebaseinfoService; |
| | | import com.ruoyi.project.service.IServiceTransportService; |
| | | import org.apache.commons.collections4.CollectionUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | |
| | | private IServiceDonatebaseinfoReportFileService serviceDonatebaseinfoReportFileService; |
| | | @Autowired |
| | | private IServiceTransportService serviceTransportService; |
| | | |
| | | @Autowired |
| | | private ServiceDonatebaseinfoReportMapper serviceDonatebaseinfoReportMapper; |
| | | @Autowired |
| | | private IServiceDonatebaseinfoService serviceDonatebaseinfoService; |
| | | |
| | | /** |
| | | * æ¥è¯¢æç®ä¸æ¥åºç¡å表 |
| | |
| | | @Override |
| | | public Page<ServiceDonatebaseinfoReport> queryList(ServiceDonatebaseinfoReport serviceDonatebaseinfoReport) { |
| | | LambdaQueryWrapper<ServiceDonatebaseinfoReport> wrappers = getWrapper(serviceDonatebaseinfoReport); |
| | | // æ·»å create_timeä¸ä¸ºç©ºçæ¡ä»¶ |
| | | wrappers.isNotNull(ServiceDonatebaseinfoReport::getCreateTime); |
| | | // ç¶åè¿è¡ååºæåº |
| | | wrappers.orderByDesc(ServiceDonatebaseinfoReport::getCreateTime); |
| | | |
| | | // å建å页对象ï¼è®¾ç½®é¡µç åæ¯é¡µå¤§å° |
| | | int currentPage = (serviceDonatebaseinfoReport.getPageNum() == null || serviceDonatebaseinfoReport.getPageNum() < 1) ? 1 : serviceDonatebaseinfoReport.getPageNum(); |
| | | int size = (serviceDonatebaseinfoReport.getPageSize() == null || serviceDonatebaseinfoReport.getPageSize() < 1) ? 10 : serviceDonatebaseinfoReport.getPageSize(); |
| | |
| | | //ææç¶æçæ»æ° |
| | | map.put("all", all); |
| | | return map; |
| | | } |
| | | |
| | | /** |
| | | * åå»ºæ¡£æ¡ |
| | | * |
| | | * @param serviceDonatebaseinfoReport |
| | | * @return |
| | | */ |
| | | @Override |
| | | public Boolean createDocument(ServiceDonatebaseinfoReport serviceDonatebaseinfoReport) { |
| | | //å°reportæ°æ®å¤å¶å°serviceDonatebaseinfoä¸ |
| | | ServiceDonatebaseinfo serviceDonatebaseinfo1 = DtoConversionUtils.sourceToTarget(serviceDonatebaseinfoReport, ServiceDonatebaseinfo.class); |
| | | serviceDonatebaseinfo1.setId(null); |
| | | //å
éè¿caseNoæ¥è¯¢æ¯å¦åå¨ |
| | | ServiceDonatebaseinfo serviceDonatebaseinfo = new ServiceDonatebaseinfo(); |
| | | serviceDonatebaseinfo.setCaseNo(serviceDonatebaseinfoReport.getCaseNo()); |
| | | List<ServiceDonatebaseinfo> serviceDonatebaseinfos = serviceDonatebaseinfoService.queryList(serviceDonatebaseinfo); |
| | | if (CollectionUtils.isNotEmpty(serviceDonatebaseinfos) && serviceDonatebaseinfos.size() > 0) { |
| | | serviceDonatebaseinfo1.setId(serviceDonatebaseinfos.get(0).getId()); |
| | | serviceDonatebaseinfoService.updateById(serviceDonatebaseinfo1); |
| | | return true; |
| | | } |
| | | //å建 |
| | | return serviceDonatebaseinfoService.save(serviceDonatebaseinfo1); |
| | | } |
| | | |
| | | private LambdaQueryWrapper<ServiceDonatebaseinfoReport> getWrapper(ServiceDonatebaseinfoReport serviceDonatebaseinfoReport) { |
| | |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getPatientstate())) { |
| | | wrappers.eq(ServiceDonatebaseinfoReport::getPatientstate, serviceDonatebaseinfoReport.getPatientstate()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getReporterno())) { |
| | | wrappers.eq(ServiceDonatebaseinfoReport::getReporterno, serviceDonatebaseinfoReport.getReporterno()); |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getInfoNo())) { |
| | | wrappers.eq(ServiceDonatebaseinfoReport::getInfoNo, serviceDonatebaseinfoReport.getInfoNo()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getReportername())) { |
| | | wrappers.like(ServiceDonatebaseinfoReport::getReportername, serviceDonatebaseinfoReport.getReportername()); |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getInfoName())) { |
| | | wrappers.like(ServiceDonatebaseinfoReport::getInfoName, serviceDonatebaseinfoReport.getInfoName()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getReporterphone())) { |
| | | wrappers.eq(ServiceDonatebaseinfoReport::getReporterphone, serviceDonatebaseinfoReport.getReporterphone()); |
| | |
| | | if (serviceDonatebaseinfoReport.getTerminationCase() != null) { |
| | | wrappers.eq(ServiceDonatebaseinfoReport::getTerminationCase, serviceDonatebaseinfoReport.getTerminationCase()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getUserNo())) { |
| | | wrappers.eq(ServiceDonatebaseinfoReport::getUserNo, serviceDonatebaseinfoReport.getUserNo()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getUserName())) { |
| | | wrappers.eq(ServiceDonatebaseinfoReport::getUserName, serviceDonatebaseinfoReport.getUserName()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getDeptNo())) { |
| | | wrappers.eq(ServiceDonatebaseinfoReport::getDeptNo, serviceDonatebaseinfoReport.getDeptNo()); |
| | | } |
| | |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getIsTransport())) { |
| | | wrappers.eq(ServiceDonatebaseinfoReport::getIsTransport, serviceDonatebaseinfoReport.getIsTransport()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getGscScore())) { |
| | | wrappers.eq(ServiceDonatebaseinfoReport::getGscScore, serviceDonatebaseinfoReport.getGscScore()); |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getGcsScore())) { |
| | | wrappers.eq(ServiceDonatebaseinfoReport::getGcsScore, serviceDonatebaseinfoReport.getGcsScore()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getRhYin())) { |
| | | wrappers.eq(ServiceDonatebaseinfoReport::getRhYin, serviceDonatebaseinfoReport.getRhYin()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getBloodType())) { |
| | | wrappers.eq(ServiceDonatebaseinfoReport::getBloodType, serviceDonatebaseinfoReport.getBloodType()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getCoordinatorName())) { |
| | | wrappers.like(ServiceDonatebaseinfoReport::getCoordinatorName, serviceDonatebaseinfoReport.getCoordinatorName()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfoReport.getCoordinatorNo())) { |
| | | wrappers.eq(ServiceDonatebaseinfoReport::getCoordinatorNo, serviceDonatebaseinfoReport.getCoordinatorNo()); |
| | | } |
| | | |
| | | return wrappers; |
| | | } |
| | | |
| | |
| | | wrappers.like(ServiceDonatebaseinfo::getReportername, serviceDonatebaseinfo.getReportername()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfo.getCaseNo())) { |
| | | wrappers.like(ServiceDonatebaseinfo::getCaseNo, serviceDonatebaseinfo.getCaseNo()); |
| | | wrappers.eq(ServiceDonatebaseinfo::getCaseNo, serviceDonatebaseinfo.getCaseNo()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfo.getInfoName())) { |
| | | wrappers.like(ServiceDonatebaseinfo::getInfoName, serviceDonatebaseinfo.getInfoName()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfo.getInfoNo())) { |
| | | wrappers.eq(ServiceDonatebaseinfo::getInfoNo, serviceDonatebaseinfo.getInfoNo()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfo.getCoordinatorName())) { |
| | | wrappers.like(ServiceDonatebaseinfo::getCoordinatorName, serviceDonatebaseinfo.getCoordinatorName()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfo.getCoordinatorNo())) { |
| | | wrappers.eq(ServiceDonatebaseinfo::getCoordinatorNo, serviceDonatebaseinfo.getCoordinatorNo()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatebaseinfo.getGcsScore())) { |
| | | wrappers.eq(ServiceDonatebaseinfo::getGcsScore, serviceDonatebaseinfo.getGcsScore()); |
| | | } |
| | | Map<String, Object> params = serviceDonatebaseinfo.getParams(); |
| | | if (params.get("beginReporttime") != null && params.get("endReporttime") != null) { |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.project.domain.ServiceDonatemaintenance; |
| | | import com.ruoyi.project.mapper.ServiceDonatemaintenanceMapper; |
| | | import com.ruoyi.project.service.IServiceDonatemaintenanceService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * ä¾ä½ç»´æ¤è®°å½Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-12-27 |
| | | */ |
| | | @Service |
| | | public class ServiceDonatemaintenanceServiceImpl extends ServiceImpl<ServiceDonatemaintenanceMapper, ServiceDonatemaintenance> implements IServiceDonatemaintenanceService |
| | | { |
| | | |
| | | |
| | | /** |
| | | * æ¥è¯¢ä¾ä½ç»´æ¤è®°å½å表 |
| | | * |
| | | * @param serviceDonatemaintenance ä¾ä½ç»´æ¤è®°å½ |
| | | * @return ä¾ä½ç»´æ¤è®°å½ |
| | | */ |
| | | @Override |
| | | public List<ServiceDonatemaintenance> queryList(ServiceDonatemaintenance serviceDonatemaintenance) { |
| | | LambdaQueryWrapper<ServiceDonatemaintenance> wrappers = Wrappers.lambdaQuery(); |
| | | if (serviceDonatemaintenance.getInfoid() != null){ |
| | | wrappers.eq(ServiceDonatemaintenance::getInfoid ,serviceDonatemaintenance.getInfoid()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatemaintenance.getCaseNo())){ |
| | | wrappers.eq(ServiceDonatemaintenance::getCaseNo ,serviceDonatemaintenance.getCaseNo()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatemaintenance.getDonorno())){ |
| | | wrappers.eq(ServiceDonatemaintenance::getDonorno ,serviceDonatemaintenance.getDonorno()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatemaintenance.getItemNo())){ |
| | | wrappers.eq(ServiceDonatemaintenance::getItemNo ,serviceDonatemaintenance.getItemNo()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatemaintenance.getItemName())){ |
| | | wrappers.like(ServiceDonatemaintenance::getItemName ,serviceDonatemaintenance.getItemName()); |
| | | } |
| | | if (serviceDonatemaintenance.getItemTime() != null){ |
| | | wrappers.eq(ServiceDonatemaintenance::getItemTime ,serviceDonatemaintenance.getItemTime()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceDonatemaintenance.getItemDesc())){ |
| | | wrappers.eq(ServiceDonatemaintenance::getItemDesc ,serviceDonatemaintenance.getItemDesc()); |
| | | } |
| | | return this.list(wrappers); |
| | | } |
| | | |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.project.domain.ServiceDonatebaseinfoReport; |
| | | import com.ruoyi.project.domain.ServiceEthicalreviewinitiate; |
| | | import com.ruoyi.project.mapper.ServiceEthicalreviewinitiateMapper; |
| | | import com.ruoyi.project.service.IServiceEthicalreviewinitiateService; |
| | |
| | | @Override |
| | | public List<ServiceEthicalreviewinitiate> queryList(ServiceEthicalreviewinitiate serviceEthicalreviewinitiate) { |
| | | LambdaQueryWrapper<ServiceEthicalreviewinitiate> wrappers = Wrappers.lambdaQuery(); |
| | | // æ·»å create_timeä¸ä¸ºç©ºçæ¡ä»¶ |
| | | wrappers.isNotNull(ServiceEthicalreviewinitiate::getCreateTime); |
| | | // ç¶åè¿è¡ååºæåº |
| | | wrappers.orderByDesc(ServiceEthicalreviewinitiate::getCreateTime); |
| | | |
| | | if (serviceEthicalreviewinitiate.getInfoid() != null) { |
| | | wrappers.eq(ServiceEthicalreviewinitiate::getInfoid, serviceEthicalreviewinitiate.getInfoid()); |
| | | } |
| | |
| | | if (serviceEthicalreviewinitiate.getCutOffTime() != null) { |
| | | wrappers.eq(ServiceEthicalreviewinitiate::getCutOffTime, serviceEthicalreviewinitiate.getCutOffTime()); |
| | | } |
| | | if (serviceEthicalreviewinitiate.getOrderNo() != null) { |
| | | wrappers.eq(ServiceEthicalreviewinitiate::getOrderNo, serviceEthicalreviewinitiate.getOrderNo()); |
| | | } |
| | | if (serviceEthicalreviewinitiate.getExpertConclusion() != null) { |
| | | wrappers.eq(ServiceEthicalreviewinitiate::getExpertConclusion, serviceEthicalreviewinitiate.getExpertConclusion()); |
| | | } |
| | | if (serviceEthicalreviewinitiate.getExpertOpinion() != null) { |
| | | wrappers.eq(ServiceEthicalreviewinitiate::getExpertOpinion, serviceEthicalreviewinitiate.getExpertOpinion()); |
| | | } |
| | | if (serviceEthicalreviewinitiate.getExpertNo() != null) { |
| | | wrappers.eq(ServiceEthicalreviewinitiate::getExpertNo, serviceEthicalreviewinitiate.getExpertNo()); |
| | | } |
| | | if (serviceEthicalreviewinitiate.getExpertName() != null) { |
| | | wrappers.eq(ServiceEthicalreviewinitiate::getExpertName, serviceEthicalreviewinitiate.getExpertName()); |
| | | } |
| | | if (serviceEthicalreviewinitiate.getExpertType() != null) { |
| | | wrappers.eq(ServiceEthicalreviewinitiate::getExpertType, serviceEthicalreviewinitiate.getExpertType()); |
| | | } |
| | | if (serviceEthicalreviewinitiate.getExpertTime() != null) { |
| | | wrappers.eq(ServiceEthicalreviewinitiate::getExpertTime, serviceEthicalreviewinitiate.getExpertTime()); |
| | | } |
| | | if (serviceEthicalreviewinitiate.getStatus() != null) { |
| | | wrappers.eq(ServiceEthicalreviewinitiate::getStatus, serviceEthicalreviewinitiate.getStatus()); |
| | | } |
| | | return this.list(wrappers); |
| | | } |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service.impl; |
| | | |
| | | import java.util.List; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import java.util.ArrayList; |
| | | import java.util.Map; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.project.mapper.ServiceMeetingParticipantMapper; |
| | | import com.ruoyi.project.domain.ServiceMeetingParticipant; |
| | | import com.ruoyi.project.service.IServiceMeetingParticipantService; |
| | | |
| | | /** |
| | | * åä¼äººåServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Service |
| | | public class ServiceMeetingParticipantServiceImpl extends ServiceImpl<ServiceMeetingParticipantMapper, ServiceMeetingParticipant> implements IServiceMeetingParticipantService |
| | | { |
| | | |
| | | |
| | | /** |
| | | * æ¥è¯¢åä¼äººåå表 |
| | | * |
| | | * @param serviceMeetingParticipant åä¼äººå |
| | | * @return åä¼äººå |
| | | */ |
| | | @Override |
| | | public List<ServiceMeetingParticipant> queryList(ServiceMeetingParticipant serviceMeetingParticipant) { |
| | | LambdaQueryWrapper<ServiceMeetingParticipant> wrappers = Wrappers.lambdaQuery(); |
| | | if (serviceMeetingParticipant.getMeetingId() != null){ |
| | | wrappers.eq(ServiceMeetingParticipant::getMeetingId ,serviceMeetingParticipant.getMeetingId()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeetingParticipant.getUserNo())){ |
| | | wrappers.eq(ServiceMeetingParticipant::getUserNo ,serviceMeetingParticipant.getUserNo()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeetingParticipant.getUserName())){ |
| | | wrappers.like(ServiceMeetingParticipant::getUserName ,serviceMeetingParticipant.getUserName()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeetingParticipant.getRole())){ |
| | | wrappers.eq(ServiceMeetingParticipant::getRole ,serviceMeetingParticipant.getRole()); |
| | | } |
| | | if (serviceMeetingParticipant.getAttendanceStatus() != null){ |
| | | wrappers.eq(ServiceMeetingParticipant::getAttendanceStatus ,serviceMeetingParticipant.getAttendanceStatus()); |
| | | } |
| | | if (serviceMeetingParticipant.getIsRequired() != null){ |
| | | wrappers.eq(ServiceMeetingParticipant::getIsRequired ,serviceMeetingParticipant.getIsRequired()); |
| | | } |
| | | if (serviceMeetingParticipant.getConfirmationTime() != null){ |
| | | wrappers.eq(ServiceMeetingParticipant::getConfirmationTime ,serviceMeetingParticipant.getConfirmationTime()); |
| | | } |
| | | if (serviceMeetingParticipant.getCheckInTime() != null){ |
| | | wrappers.eq(ServiceMeetingParticipant::getCheckInTime ,serviceMeetingParticipant.getCheckInTime()); |
| | | } |
| | | if (serviceMeetingParticipant.getCheckOutTime() != null){ |
| | | wrappers.eq(ServiceMeetingParticipant::getCheckOutTime ,serviceMeetingParticipant.getCheckOutTime()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeetingParticipant.getCreatedBy())){ |
| | | wrappers.eq(ServiceMeetingParticipant::getCreatedBy ,serviceMeetingParticipant.getCreatedBy()); |
| | | } |
| | | if (serviceMeetingParticipant.getCreatedTime() != null){ |
| | | wrappers.eq(ServiceMeetingParticipant::getCreatedTime ,serviceMeetingParticipant.getCreatedTime()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeetingParticipant.getUpdatedBy())){ |
| | | wrappers.eq(ServiceMeetingParticipant::getUpdatedBy ,serviceMeetingParticipant.getUpdatedBy()); |
| | | } |
| | | if (serviceMeetingParticipant.getUpdatedTime() != null){ |
| | | wrappers.eq(ServiceMeetingParticipant::getUpdatedTime ,serviceMeetingParticipant.getUpdatedTime()); |
| | | } |
| | | return this.list(wrappers); |
| | | } |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service.impl; |
| | | |
| | | import java.util.List; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import java.util.ArrayList; |
| | | import java.util.Map; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.project.mapper.ServiceMeetingMapper; |
| | | import com.ruoyi.project.domain.ServiceMeeting; |
| | | import com.ruoyi.project.service.IServiceMeetingService; |
| | | |
| | | /** |
| | | * ä¼è®®çºªè¦Serviceä¸å¡å±å¤ç |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Service |
| | | public class ServiceMeetingServiceImpl extends ServiceImpl<ServiceMeetingMapper, ServiceMeeting> implements IServiceMeetingService |
| | | { |
| | | |
| | | |
| | | /** |
| | | * æ¥è¯¢ä¼è®®çºªè¦å表 |
| | | * |
| | | * @param serviceMeeting ä¼è®®çºªè¦ |
| | | * @return ä¼è®®çºªè¦ |
| | | */ |
| | | @Override |
| | | public List<ServiceMeeting> queryList(ServiceMeeting serviceMeeting) { |
| | | LambdaQueryWrapper<ServiceMeeting> wrappers = Wrappers.lambdaQuery(); |
| | | if (StringUtils.isNotBlank(serviceMeeting.getMeetingNumber())){ |
| | | wrappers.eq(ServiceMeeting::getMeetingNumber ,serviceMeeting.getMeetingNumber()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeeting.getTitle())){ |
| | | wrappers.eq(ServiceMeeting::getTitle ,serviceMeeting.getTitle()); |
| | | } |
| | | if (serviceMeeting.getTypeId() != null){ |
| | | wrappers.eq(ServiceMeeting::getTypeId ,serviceMeeting.getTypeId()); |
| | | } |
| | | if (serviceMeeting.getLocationId() != null){ |
| | | wrappers.eq(ServiceMeeting::getLocationId ,serviceMeeting.getLocationId()); |
| | | } |
| | | if (serviceMeeting.getOrganizerId() != null){ |
| | | wrappers.eq(ServiceMeeting::getOrganizerId ,serviceMeeting.getOrganizerId()); |
| | | } |
| | | if (serviceMeeting.getStartTime() != null){ |
| | | wrappers.eq(ServiceMeeting::getStartTime ,serviceMeeting.getStartTime()); |
| | | } |
| | | if (serviceMeeting.getEndTime() != null){ |
| | | wrappers.eq(ServiceMeeting::getEndTime ,serviceMeeting.getEndTime()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeeting.getSummary())){ |
| | | wrappers.eq(ServiceMeeting::getSummary ,serviceMeeting.getSummary()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeeting.getContent())){ |
| | | wrappers.eq(ServiceMeeting::getContent ,serviceMeeting.getContent()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeeting.getAttachment())){ |
| | | wrappers.eq(ServiceMeeting::getAttachment ,serviceMeeting.getAttachment()); |
| | | } |
| | | if (serviceMeeting.getStatus() != null){ |
| | | wrappers.eq(ServiceMeeting::getStatus ,serviceMeeting.getStatus()); |
| | | } |
| | | if (serviceMeeting.getIsRecurring() != null){ |
| | | wrappers.eq(ServiceMeeting::getIsRecurring ,serviceMeeting.getIsRecurring()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeeting.getRecurringPattern())){ |
| | | wrappers.eq(ServiceMeeting::getRecurringPattern ,serviceMeeting.getRecurringPattern()); |
| | | } |
| | | if (serviceMeeting.getParentMeetingId() != null){ |
| | | wrappers.eq(ServiceMeeting::getParentMeetingId ,serviceMeeting.getParentMeetingId()); |
| | | } |
| | | if (serviceMeeting.getReminderMinutes() != null){ |
| | | wrappers.eq(ServiceMeeting::getReminderMinutes ,serviceMeeting.getReminderMinutes()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeeting.getRecordcontent())){ |
| | | wrappers.eq(ServiceMeeting::getRecordcontent ,serviceMeeting.getRecordcontent()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeeting.getRecordattachment())){ |
| | | wrappers.eq(ServiceMeeting::getRecordattachment ,serviceMeeting.getRecordattachment()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeeting.getRecorderBy())){ |
| | | wrappers.eq(ServiceMeeting::getRecorderBy ,serviceMeeting.getRecorderBy()); |
| | | } |
| | | if (serviceMeeting.getRecorderTime() != null){ |
| | | wrappers.eq(ServiceMeeting::getRecorderTime ,serviceMeeting.getRecorderTime()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeeting.getApproverBy())){ |
| | | wrappers.eq(ServiceMeeting::getApproverBy ,serviceMeeting.getApproverBy()); |
| | | } |
| | | if (serviceMeeting.getApprovalStatus() != null){ |
| | | wrappers.eq(ServiceMeeting::getApprovalStatus ,serviceMeeting.getApprovalStatus()); |
| | | } |
| | | if (serviceMeeting.getApprovalTime() != null){ |
| | | wrappers.eq(ServiceMeeting::getApprovalTime ,serviceMeeting.getApprovalTime()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeeting.getCreatedBy())){ |
| | | wrappers.eq(ServiceMeeting::getCreatedBy ,serviceMeeting.getCreatedBy()); |
| | | } |
| | | if (serviceMeeting.getCreatedTime() != null){ |
| | | wrappers.eq(ServiceMeeting::getCreatedTime ,serviceMeeting.getCreatedTime()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceMeeting.getUpdatedBy())){ |
| | | wrappers.eq(ServiceMeeting::getUpdatedBy ,serviceMeeting.getUpdatedBy()); |
| | | } |
| | | if (serviceMeeting.getUpdatedTime() != null){ |
| | | wrappers.eq(ServiceMeeting::getUpdatedTime ,serviceMeeting.getUpdatedTime()); |
| | | } |
| | | return this.list(wrappers); |
| | | } |
| | | |
| | | } |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service.impl; |
| | | |
| | | import java.util.List; |
| | | import com.ruoyi.common.utils.DateUtils; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import java.util.ArrayList; |
| | | import java.util.Map; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.project.mapper.ServiceTrainingRecordsMapper; |
| | | import com.ruoyi.project.domain.ServiceTrainingRecords; |
| | | import com.ruoyi.project.service.IServiceTrainingRecordsService; |
| | | |
| | | /** |
| | | * 人åè¿ä¿®ç®¡çServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author ls |
| | | * @date 2025-12-28 |
| | | */ |
| | | @Service |
| | | public class ServiceTrainingRecordsServiceImpl extends ServiceImpl<ServiceTrainingRecordsMapper, ServiceTrainingRecords> implements IServiceTrainingRecordsService |
| | | { |
| | | |
| | | |
| | | /** |
| | | * æ¥è¯¢äººåè¿ä¿®ç®¡çå表 |
| | | * |
| | | * @param serviceTrainingRecords 人åè¿ä¿®ç®¡ç |
| | | * @return 人åè¿ä¿®ç®¡ç |
| | | */ |
| | | @Override |
| | | public List<ServiceTrainingRecords> queryList(ServiceTrainingRecords serviceTrainingRecords) { |
| | | LambdaQueryWrapper<ServiceTrainingRecords> wrappers = Wrappers.lambdaQuery(); |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getName())){ |
| | | wrappers.like(ServiceTrainingRecords::getName ,serviceTrainingRecords.getName()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getSex())){ |
| | | wrappers.eq(ServiceTrainingRecords::getSex ,serviceTrainingRecords.getSex()); |
| | | } |
| | | if (serviceTrainingRecords.getAge() != null){ |
| | | wrappers.eq(ServiceTrainingRecords::getAge ,serviceTrainingRecords.getAge()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getEducation())){ |
| | | wrappers.eq(ServiceTrainingRecords::getEducation ,serviceTrainingRecords.getEducation()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getTrainingType())){ |
| | | wrappers.eq(ServiceTrainingRecords::getTrainingType ,serviceTrainingRecords.getTrainingType()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getIdCard())){ |
| | | wrappers.eq(ServiceTrainingRecords::getIdCard ,serviceTrainingRecords.getIdCard()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getGraduationSchool())){ |
| | | wrappers.eq(ServiceTrainingRecords::getGraduationSchool ,serviceTrainingRecords.getGraduationSchool()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getWorkUnit())){ |
| | | wrappers.eq(ServiceTrainingRecords::getWorkUnit ,serviceTrainingRecords.getWorkUnit()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getTechnicalTitle())){ |
| | | wrappers.eq(ServiceTrainingRecords::getTechnicalTitle ,serviceTrainingRecords.getTechnicalTitle()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getProfession())){ |
| | | wrappers.eq(ServiceTrainingRecords::getProfession ,serviceTrainingRecords.getProfession()); |
| | | } |
| | | if (serviceTrainingRecords.getWorkYears() != null){ |
| | | wrappers.eq(ServiceTrainingRecords::getWorkYears ,serviceTrainingRecords.getWorkYears()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getTrainingGoal())){ |
| | | wrappers.eq(ServiceTrainingRecords::getTrainingGoal ,serviceTrainingRecords.getTrainingGoal()); |
| | | } |
| | | if (serviceTrainingRecords.getTrainingStartDate() != null){ |
| | | wrappers.eq(ServiceTrainingRecords::getTrainingStartDate ,serviceTrainingRecords.getTrainingStartDate()); |
| | | } |
| | | if (serviceTrainingRecords.getTrainingEndDate() != null){ |
| | | wrappers.eq(ServiceTrainingRecords::getTrainingEndDate ,serviceTrainingRecords.getTrainingEndDate()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getTrainingMajor())){ |
| | | wrappers.eq(ServiceTrainingRecords::getTrainingMajor ,serviceTrainingRecords.getTrainingMajor()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getWorkSituation())){ |
| | | wrappers.eq(ServiceTrainingRecords::getWorkSituation ,serviceTrainingRecords.getWorkSituation()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getApplySubject())){ |
| | | wrappers.eq(ServiceTrainingRecords::getApplySubject ,serviceTrainingRecords.getApplySubject()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getApplyPurpose())){ |
| | | wrappers.eq(ServiceTrainingRecords::getApplyPurpose ,serviceTrainingRecords.getApplyPurpose()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getMainEducation())){ |
| | | wrappers.eq(ServiceTrainingRecords::getMainEducation ,serviceTrainingRecords.getMainEducation()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getMainExperience())){ |
| | | wrappers.eq(ServiceTrainingRecords::getMainExperience ,serviceTrainingRecords.getMainExperience()); |
| | | } |
| | | if (StringUtils.isNotBlank(serviceTrainingRecords.getRecordStatus())){ |
| | | wrappers.eq(ServiceTrainingRecords::getRecordStatus ,serviceTrainingRecords.getRecordStatus()); |
| | | } |
| | | if (serviceTrainingRecords.getIsCopy() != null){ |
| | | wrappers.eq(ServiceTrainingRecords::getIsCopy ,serviceTrainingRecords.getIsCopy()); |
| | | } |
| | | if (serviceTrainingRecords.getOriginalId() != null){ |
| | | wrappers.eq(ServiceTrainingRecords::getOriginalId ,serviceTrainingRecords.getOriginalId()); |
| | | } |
| | | return this.list(wrappers); |
| | | } |
| | | |
| | | } |
| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.project.domain.ServiceDonatebaseinfoReport; |
| | | import com.ruoyi.project.domain.ServiceDonatebaseinfoReportFile; |
| | | import com.ruoyi.project.domain.ServiceTransport; |
| | | import com.ruoyi.project.domain.ServiceTransportFile; |
| | | import com.ruoyi.project.domain.*; |
| | | import com.ruoyi.project.mapper.ServiceTransportMapper; |
| | | import com.ruoyi.project.service.IServiceTransportFileService; |
| | | import com.ruoyi.project.service.IServiceTransportService; |
| | |
| | | @Override |
| | | public Page<ServiceTransport> queryList(ServiceTransport serviceTransport) { |
| | | LambdaQueryWrapper<ServiceTransport> wrappers = getWrappers(serviceTransport); |
| | | // æ·»å create_timeä¸ä¸ºç©ºçæ¡ä»¶ |
| | | wrappers.isNotNull(ServiceTransport::getCreateTime); |
| | | // ç¶åè¿è¡ååºæåº |
| | | wrappers.orderByDesc(ServiceTransport::getCreateTime); |
| | | // å建å页对象ï¼è®¾ç½®é¡µç åæ¯é¡µå¤§å° |
| | | int currentPage = (serviceTransport.getPageNum() == null || serviceTransport.getPageNum() < 1) ? 1 : serviceTransport.getPageNum(); |
| | | int size = (serviceTransport.getPageSize() == null || serviceTransport.getPageSize() < 1) ? 10 : serviceTransport.getPageSize(); |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | package com.ruoyi.project.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import com.ruoyi.common.utils.StringUtils; |
| | | import com.ruoyi.project.domain.VUserOrg; |
| | | import com.ruoyi.project.mapper.VUserOrgMapper; |
| | | import com.ruoyi.project.service.IVUserOrgService; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * VIEWServiceä¸å¡å±å¤ç |
| | | * |
| | | * @author ruoyi |
| | | * @date 2025-12-27 |
| | | */ |
| | | @Service |
| | | public class VUserOrgServiceImpl extends ServiceImpl<VUserOrgMapper, VUserOrg> implements IVUserOrgService { |
| | | |
| | | |
| | | /** |
| | | * æ¥è¯¢VIEWå表 |
| | | * |
| | | * @param vUserOrg VIEW |
| | | * @return VIEW |
| | | */ |
| | | @Override |
| | | public List<VUserOrg> queryList(VUserOrg vUserOrg) { |
| | | LambdaQueryWrapper<VUserOrg> wrappers = Wrappers.lambdaQuery(); |
| | | if (vUserOrg.getUserId() != null) { |
| | | wrappers.eq(VUserOrg::getUserId, vUserOrg.getUserId()); |
| | | } |
| | | if (StringUtils.isNotBlank(vUserOrg.getStatus())) { |
| | | wrappers.eq(VUserOrg::getStatus, vUserOrg.getStatus()); |
| | | } |
| | | if (StringUtils.isNotBlank(vUserOrg.getUserName())) { |
| | | wrappers.like(VUserOrg::getUserName, vUserOrg.getUserName()); |
| | | } |
| | | if (StringUtils.isNotBlank(vUserOrg.getNickName())) { |
| | | wrappers.like(VUserOrg::getNickName, vUserOrg.getNickName()); |
| | | } |
| | | if (StringUtils.isNotBlank(vUserOrg.getUserType())) { |
| | | wrappers.eq(VUserOrg::getUserType, vUserOrg.getUserType()); |
| | | } |
| | | if (StringUtils.isNotBlank(vUserOrg.getPhonenumber())) { |
| | | wrappers.eq(VUserOrg::getPhonenumber, vUserOrg.getPhonenumber()); |
| | | } |
| | | if (vUserOrg.getDeptId() != null) { |
| | | wrappers.eq(VUserOrg::getDeptId, vUserOrg.getDeptId()); |
| | | } |
| | | if (vUserOrg.getOrgId() != null) { |
| | | wrappers.eq(VUserOrg::getOrgId, vUserOrg.getOrgId()); |
| | | } |
| | | if (StringUtils.isNotBlank(vUserOrg.getOrganizationid())) { |
| | | wrappers.eq(VUserOrg::getOrganizationid, vUserOrg.getOrganizationid()); |
| | | } |
| | | if (StringUtils.isNotBlank(vUserOrg.getOrganizationname())) { |
| | | wrappers.like(VUserOrg::getOrganizationname, vUserOrg.getOrganizationname()); |
| | | } |
| | | if (StringUtils.isNotBlank(vUserOrg.getCoordinatorNo())) { |
| | | wrappers.eq(VUserOrg::getCoordinatorNo, vUserOrg.getCoordinatorNo()); |
| | | } |
| | | if (StringUtils.isNotBlank(vUserOrg.getCoordinatorName())) { |
| | | wrappers.like(VUserOrg::getCoordinatorName, vUserOrg.getCoordinatorName()); |
| | | } |
| | | return this.list(wrappers); |
| | | } |
| | | |
| | | } |
| | |
| | | <result property="communityname" column="CommunityName"/> |
| | | <result property="countycode" column="CountyCode"/> |
| | | <result property="countyname" column="CountyName"/> |
| | | <result property="reporterName" column="reporter_name"/> |
| | | <result property="reporterNo" column="reporter_no"/> |
| | | <result property="coordinatorName" column="coordinator_name"/> |
| | | <result property="coordinatorNo" column="coordinator_no"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectBaseOrganizationVo"> |
| | | select ID, |
| | | OrganizationName, |
| | | reporter_name, |
| | | reporter_no, |
| | | coordinator_name, |
| | | coordinator_no, |
| | | OrganizationID, |
| | | LogoUrl, |
| | | RegisterTime, |
| | |
| | | #{communityname}, '%') |
| | | </if> |
| | | <if test="countycode != null and countycode != ''">and CountyCode = #{countycode}</if> |
| | | <if test="reporterName != null and reporterName != ''">and reporter_name = #{reporterName}</if> |
| | | <if test="reporterNo != null and reporterNo != ''">and reporter_no = #{reporterNo}</if> |
| | | <if test="coordinatorName != null and coordinatorName != ''">and coordinator_name = #{coordinatorName}</if> |
| | | <if test="coordinatorNo != null and coordinatorNo != ''">and coordinatorNo = #{coordinatorNo}</if> |
| | | <if test="countyname != null and countyname != ''">and CountyName like concat('%', #{countyname}, '%')</if> |
| | | </where> |
| | | </select> |
| | |
| | | |
| | | </select> |
| | | |
| | | </mapper> |
| | | </mapper> |
| | |
| | | <result property="reportername" column="ReporterName"/> |
| | | <result property="reporterphone" column="ReporterPhone"/> |
| | | <result property="reporttime" column="ReportTime"/> |
| | | <result property="del_flag" column="del_flag"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="terminationCase" column="termination_case"/> |
| | |
| | | <result property="occupation" column="Occupation"/> |
| | | <result property="education" column="Education"/> |
| | | <result property="nativeplace" column="NativePlace"/> |
| | | <result property="infoname" column="infoName"/> |
| | | <result property="infoName" column="info_name"/> |
| | | <result property="infoNo" column="info_no"/> |
| | | <result property="infophone" column="infoPhone"/> |
| | | <result property="deptid" column="deptid"/> |
| | | <result property="deptname" column="deptname"/> |
| | |
| | | <result property="currentDept" column="current_dept"/> |
| | | <result property="firstDept" column="first_dept"/> |
| | | <result property="reportId" column="report_id"/> |
| | | <result property="gcsScore" column="gcs_score"/> |
| | | <result property="coordinatorNo" column="coordinator_no"/> |
| | | <result property="coordinatorName" column="coordinator_name"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceDonatebaseinfoVo"> |
| | |
| | | service_donatebaseinfo.del_flag = 0 |
| | | <if test="name != null and name != ''">and Name like concat('%', #{name}, '%')</if> |
| | | <if test="sex != null ">and Sex = #{sex}</if> |
| | | <if test="coordinatorName != null ">and coordinator_name like concat('%',#{coordinatorName}, '%')</if> |
| | | <if test="coordinatorNo != null ">and coordinator_no = #{coordinatorNo}</if> |
| | | <if test="caseNo != null ">and service_donatebaseinfo.case_no = #{caseNo}</if> |
| | | <if test="idcardtype != null ">and IDCardType = #{idcardtype}</if> |
| | | <if test="idcardno != null and idcardno != ''">and IDCardNo = #{idcardno}</if> |
| | |
| | | </if> |
| | | <if test="reporterphone != null and reporterphone != ''">and ReporterPhone = #{reporterphone}</if> |
| | | <if test="reporttime != null ">and ReportTime = #{reporttime}</if> |
| | | <if test="infoname != null ">and infoName = #{infoname}</if> |
| | | <if test="infoName != null ">and info_name like concat('%',#{infoName},'%')</if> |
| | | <if test="infoNo != null ">and info_no = #{infoNo}</if> |
| | | <if test="infophone != null ">and infoPhone = #{infophone}</if> |
| | | <if test="createBy != null ">and `service_donatebaseinfo`.create_by = #{createBy}</if> |
| | | <if test="starttime != null ">and donatetime >= #{starttime}</if> |
| | |
| | | <if test="donateno != null ">and donateno = #{donateno}</if> |
| | | <if test="workflow != null ">and workflow = #{workflow}</if> |
| | | <if test="reportId != null ">and report_id = #{reportId}</if> |
| | | <if test="gcsScore != null ">and gcs_score = #{gcsScore}</if> |
| | | </where> |
| | | |
| | | order by ReportTime desc |
| | |
| | | <if test="caseNo != null ">and b.case_no >= #{caseNo}</if> |
| | | <if test="reportId != null ">and b.report_id = #{reportId}</if> |
| | | <if test="endtime != null ">and b.donatetime <= #{endtime}</if> |
| | | <if test="gcsScore != null ">and b.gcs_score = #{gcsScore}</if> |
| | | <if test="city != null and city != ''">and o.City = #{city}</if> |
| | | <if test="reporterno != null and reporterno != ''">and b.ReporterNo = #{reporterno}</if> |
| | | </where> |
| | |
| | | <result property="infectious" column="Infectious"/> |
| | | <result property="infectiousOther" column="Infectious_Other"/> |
| | | <result property="patientstate" column="PatientState"/> |
| | | <result property="reporterno" column="ReporterNo"/> |
| | | <result property="reportername" column="ReporterName"/> |
| | | <result property="reporterphone" column="ReporterPhone"/> |
| | | <result property="reporttime" column="ReportTime"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | |
| | | <result property="deptName" column="dept_name"/> |
| | | <result property="deptNo" column="dept_no"/> |
| | | <result property="isTransport" column="is_transport"/> |
| | | <result property="gscScore" column="gsc_score"/> |
| | | <result property="gcsScore" column="gcs_score"/> |
| | | <result property="rhYin" column="rh_yin"/> |
| | | <result property="bloodType" column="blood_type"/> |
| | | <result property="coordinatorName" column="coordinator_name"/> |
| | | <result property="coordinatorNo" column="coordinator_no"/> |
| | | <result property="infoName" column="info_name"/> |
| | | <result property="infoNo" column="info_no"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceDonatebaseinfoReportVo"> |
| | | select ID, |
| | | case_no, |
| | | coordinator_name, |
| | | coordinator_no, |
| | | info_name, |
| | | info_no, |
| | | blood_type, |
| | | rh_yin, |
| | | report_status, |
| | | gsc_score, |
| | | gcs_score, |
| | | Name, |
| | | Sex, |
| | | IDCardType, |
| | |
| | | Infectious, |
| | | Infectious_Other, |
| | | PatientState, |
| | | ReporterNo, |
| | | ReporterName, |
| | | ReporterPhone, |
| | | ReportTime, |
| | | del_flag, |
| | |
| | | <include refid="selectServiceDonatebaseinfoReportVo"/> |
| | | <where> |
| | | <if test="caseNo != null and caseNo != ''">and case_no = #{caseNo}</if> |
| | | <if test="gscScore != null and gscScore != ''">and gsc_score = #{gscScore}</if> |
| | | <if test="coordinatorName != null ">and coordinator_name like concat('%', #{coordinatorName}, '%')</if> |
| | | <if test="coordinatorNo != null ">and coordinator_no = #{coordinatorNo}</if> |
| | | <if test="infoName != null ">and info_name like concat('%', #{infoName}, '%')</if> |
| | | <if test="infoNo != null ">and info_no = #{infoNo}</if> |
| | | <if test="gcsScore != null and gcsScore != ''">and gcs_score = #{gcsScore}</if> |
| | | <if test="reportStatus != null and reportStatus != ''">and report_status = #{reportStatus}</if> |
| | | <if test="name != null and name != ''">and Name like concat('%', #{name}, '%')</if> |
| | | <if test="sex != null and sex != ''">and Sex = #{sex}</if> |
| | |
| | | <if test="infectious != null and infectious != ''">and Infectious = #{infectious}</if> |
| | | <if test="infectiousOther != null and infectiousOther != ''">and Infectious_Other = #{infectiousOther}</if> |
| | | <if test="patientstate != null and patientstate != ''">and PatientState = #{patientstate}</if> |
| | | <if test="reporterno != null and reporterno != ''">and ReporterNo = #{reporterno}</if> |
| | | <if test="reportername != null and reportername != ''">and ReporterName like concat('%', #{reportername}, |
| | | '%') |
| | | </if> |
| | | <if test="reporterphone != null and reporterphone != ''">and ReporterPhone = #{reporterphone}</if> |
| | | <if test="reporttime != null ">and ReportTime = #{reporttime}</if> |
| | | <if test="terminationCase != null ">and termination_case = #{terminationCase}</if> |
| | |
| | | <if test="deptNo != null and deptNo != ''">and dept_no = #{deptNo}</if> |
| | | <if test="deptName != null and deptName != ''">and dept_name = #{deptName}</if> |
| | | <if test="isTransport != null and isTransport != ''">and is_transport = #{isTransport}</if> |
| | | <if test="rhYin != null and rhYin != ''">and rh_yin = #{rhYin}</if> |
| | | <if test="bloodType != null and bloodType != ''">and blood_type = #{bloodType}</if> |
| | | </where> |
| | | </select> |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.ruoyi.project.mapper.ServiceDonatemaintenanceMapper"> |
| | | |
| | | <resultMap type="com.ruoyi.project.domain.ServiceDonatemaintenance" id="ServiceDonatemaintenanceResult"> |
| | | <result property="id" column="ID"/> |
| | | <result property="infoid" column="InfoID"/> |
| | | <result property="caseNo" column="case_no"/> |
| | | <result property="donorno" column="DonorNo"/> |
| | | <result property="itemNo" column="item_no"/> |
| | | <result property="itemName" column="item_name"/> |
| | | <result property="itemTime" column="item_time"/> |
| | | <result property="itemDesc" column="item_desc"/> |
| | | <result property="delFlag" column="del_flag"/> |
| | | <result property="createBy" column="create_by"/> |
| | | <result property="createTime" column="create_time"/> |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceDonatemaintenanceVo"> |
| | | select ID, |
| | | InfoID, |
| | | case_no, |
| | | DonorNo, |
| | | item_no, |
| | | item_name, |
| | | item_time, |
| | | item_desc, |
| | | del_flag, |
| | | create_by, |
| | | create_time, |
| | | update_by, |
| | | update_time |
| | | from service_donatemaintenance |
| | | </sql> |
| | | |
| | | <select id="selectServiceDonatemaintenanceList" parameterType="com.ruoyi.project.domain.ServiceDonatemaintenance" |
| | | resultMap="ServiceDonatemaintenanceResult"> |
| | | <include refid="selectServiceDonatemaintenanceVo"/> |
| | | <where> |
| | | <if test="infoid != null ">and InfoID = #{infoid}</if> |
| | | <if test="caseNo != null and caseNo != ''">and case_no = #{caseNo}</if> |
| | | <if test="donorno != null and donorno != ''">and DonorNo = #{donorno}</if> |
| | | <if test="itemNo != null and itemNo != ''">and item_no = #{itemNo}</if> |
| | | <if test="itemName != null and itemName != ''">and item_name like concat('%', #{itemName}, '%')</if> |
| | | <if test="itemTime != null ">and item_time = #{itemTime}</if> |
| | | <if test="itemDesc != null and itemDesc != ''">and item_desc = #{itemDesc}</if> |
| | | </where> |
| | | </select> |
| | | |
| | | </mapper> |
| | |
| | | <result property="updateBy" column="update_by"/> |
| | | <result property="updateTime" column="update_time"/> |
| | | <result property="remark" column="remark"/> |
| | | <result property="orderNo" column="order_no"/> |
| | | <result property="expertConclusion" column="expert_conclusion"/> |
| | | <result property="expertName" column="expert_name"/> |
| | | <result property="expertNo" column="expert_no"/> |
| | | <result property="expertOpinion" column="expert_opinion"/> |
| | | <result property="expertTime" column="expert_time"/> |
| | | <result property="expertType" column="expert_type"/> |
| | | <result property="status" column="status"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectServiceEthicalreviewinitiateVo"> |
| | | select ID, |
| | | InfoID, |
| | | case_no, |
| | | order_no, |
| | | expert_conclusion, |
| | | expert_name, |
| | | expert_no, |
| | | expert_opinion, |
| | | expert_time, |
| | | expert_type, |
| | | status, |
| | | initiate_person, |
| | | start_time, |
| | | end_time, |
| | |
| | | <if test="endTime != null ">and end_time = #{endTime}</if> |
| | | <if test="initiateTheme != null and initiateTheme != ''">and initiate_theme = #{initiateTheme}</if> |
| | | <if test="cutOffTime != null ">and cut_off_time = #{cutOffTime}</if> |
| | | <if test="expertConclusion != null ">and expert_conclusion = #{expertConclusion}</if> |
| | | <if test="orderNo != null ">and order_no = #{orderNo}</if> |
| | | <if test="expertName != null ">and expert_name = #{expertName}</if> |
| | | <if test="expertOpinion != null ">and expert_opinion = #{expertOpinion}</if> |
| | | <if test="expertTime != null ">and expert_time = #{expertTime}</if> |
| | | <if test="expertType != null ">and expert_type = #{expertType}</if> |
| | | <if test="status != null ">and status = #{status}</if> |
| | | <if test="expertNo != null ">and expert_no = #{expertNo}</if> |
| | | |
| | | </where> |
| | | </select> |
| | | |
| ¶Ô±ÈÐÂÎļþ |
| | |
| | | <?xml version="1.0" encoding="UTF-8" ?> |
| | | <!DOCTYPE mapper |
| | | PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
| | | "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
| | | <mapper namespace="com.ruoyi.project.mapper.VUserOrgMapper"> |
| | | |
| | | <resultMap type="com.ruoyi.project.domain.VUserOrg" id="VUserOrgResult"> |
| | | <result property="userId" column="user_id"/> |
| | | <result property="status" column="status"/> |
| | | <result property="userName" column="user_name"/> |
| | | <result property="nickName" column="nick_name"/> |
| | | <result property="userType" column="user_type"/> |
| | | <result property="phonenumber" column="phonenumber"/> |
| | | <result property="deptId" column="dept_id"/> |
| | | <result property="orgId" column="org_id"/> |
| | | <result property="organizationid" column="OrganizationID"/> |
| | | <result property="organizationname" column="OrganizationName"/> |
| | | <result property="coordinatorNo" column="coordinator_no"/> |
| | | <result property="coordinatorName" column="coordinator_name"/> |
| | | </resultMap> |
| | | |
| | | <sql id="selectVUserOrgVo"> |
| | | select user_id, |
| | | status, |
| | | user_name, |
| | | nick_name, |
| | | user_type, |
| | | phonenumber, |
| | | dept_id, |
| | | org_id, |
| | | OrganizationID, |
| | | OrganizationName, |
| | | coordinator_no, |
| | | coordinator_name |
| | | from v_user_org |
| | | </sql> |
| | | |
| | | <select id="selectVUserOrgList" parameterType="com.ruoyi.project.domain.VUserOrg" resultMap="VUserOrgResult"> |
| | | <include refid="selectVUserOrgVo"/> |
| | | <where> |
| | | <if test="userId != null ">and user_id = #{userId}</if> |
| | | <if test="status != null and status != ''">and status = #{status}</if> |
| | | <if test="userName != null and userName != ''">and user_name like concat('%', #{userName}, '%')</if> |
| | | <if test="nickName != null and nickName != ''">and nick_name like concat('%', #{nickName}, '%')</if> |
| | | <if test="userType != null and userType != ''">and user_type = #{userType}</if> |
| | | <if test="phonenumber != null and phonenumber != ''">and phonenumber = #{phonenumber}</if> |
| | | <if test="deptId != null ">and dept_id = #{deptId}</if> |
| | | <if test="orgId != null ">and org_id = #{orgId}</if> |
| | | <if test="organizationid != null and organizationid != ''">and OrganizationID = #{organizationid}</if> |
| | | <if test="organizationname != null and organizationname != ''">and OrganizationName like concat('%', |
| | | #{organizationname}, '%') |
| | | </if> |
| | | <if test="coordinatorNo != null and coordinatorNo != ''">and coordinator_no = #{coordinatorNo}</if> |
| | | <if test="coordinatorName != null and coordinatorName != ''">and coordinator_name like concat('%', |
| | | #{coordinatorName}, '%') |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | </mapper> |