zjh
2025-01-20 73a816fd2b1e29c25d615c85ce34b12b55c16ccf
ltkj-admin/src/main/java/com/ltkj/web/controller/system/TjOtherCheckController.java
@@ -9,6 +9,7 @@
import javax.servlet.http.HttpServletResponse;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.ltkj.common.core.domain.model.LoginUser;
import com.ltkj.common.core.redis.RedisCache;
import com.ltkj.framework.config.MatchUtils;
import com.ltkj.hosp.domain.TjCustomer;
@@ -18,6 +19,7 @@
import com.ltkj.hosp.service.ITjOtherCheckService;
import com.ltkj.hosp.service.ITjProjectService;
import com.ltkj.hosp.service.TjAsyncService;
import com.ltkj.system.domain.SysLogininfor;
import com.ltkj.system.service.ISysConfigService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
@@ -154,4 +156,19 @@
    public AjaxResult remove(@PathVariable String[] ids) {
        return toAjax(tjOtherCheckService.deleteTjOtherCheckByIds(ids));
    }
    /**
     * 查图文列表
     */
    @GetMapping("/getPhotoList")
    @ApiOperation(value = "查图文列表")
    public AjaxResult getPhotoList(String tjNumber,String proId) {
        LambdaQueryWrapper<TjOtherCheck> wq=new LambdaQueryWrapper<>();
        wq.eq(TjOtherCheck::getTjNum,tjNumber);
        wq.eq(TjOtherCheck::getProId,proId);
        wq.orderByDesc(TjOtherCheck::getCreateTime);
        List<TjOtherCheck> list = tjOtherCheckService.list(wq);
        return AjaxResult.success(list);
    }
}