Commit f69f6df5 by tyk

经验交流代码提交

parent b283048a
package com.qianhe.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.qianhe.domain.JygxBmjj;
import com.qianhe.service.IJygxBmjjService;
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.qianhe.common.annotation.Log;
import com.qianhe.common.core.controller.BaseController;
import com.qianhe.common.core.domain.AjaxResult;
import com.qianhe.common.enums.BusinessType;
import com.qianhe.common.utils.poi.ExcelUtil;
import com.qianhe.common.core.page.TableDataInfo;
/**
* 经验共享-组织领导Controller
*
* @author qianhe
* @date 2024-07-30
*/
@RestController
@RequestMapping("/system/bmjj")
public class JygxBmjjController extends BaseController
{
@Autowired
private IJygxBmjjService jygxBmjjService;
/**
* 查询经验共享-组织领导列表
*/
@PreAuthorize("@ss.hasPermi('system:bmjj:list')")
@GetMapping("/list")
public TableDataInfo list(JygxBmjj jygxBmjj)
{
startPage();
List<JygxBmjj> list = jygxBmjjService.selectJygxBmjjList(jygxBmjj);
return getDataTable(list);
}
/**
* 导出经验共享-组织领导列表
*/
@PreAuthorize("@ss.hasPermi('system:bmjj:export')")
@Log(title = "经验共享-组织领导", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JygxBmjj jygxBmjj)
{
List<JygxBmjj> list = jygxBmjjService.selectJygxBmjjList(jygxBmjj);
ExcelUtil<JygxBmjj> util = new ExcelUtil<JygxBmjj>(JygxBmjj.class);
util.exportExcel(response, list, "经验共享-组织领导数据");
}
/**
* 获取经验共享-组织领导详细信息
*/
@PreAuthorize("@ss.hasPermi('system:bmjj:query')")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") Long id)
{
return success(jygxBmjjService.selectJygxBmjjById(id));
}
/**
* 新增经验共享-组织领导
*/
@PreAuthorize("@ss.hasPermi('system:bmjj:add')")
@Log(title = "经验共享-组织领导", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JygxBmjj jygxBmjj)
{
return toAjax(jygxBmjjService.insertJygxBmjj(jygxBmjj));
}
/**
* 修改经验共享-组织领导
*/
@PreAuthorize("@ss.hasPermi('system:bmjj:edit')")
@Log(title = "经验共享-组织领导", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JygxBmjj jygxBmjj)
{
return toAjax(jygxBmjjService.updateJygxBmjj(jygxBmjj));
}
/**
* 删除经验共享-组织领导
*/
@PreAuthorize("@ss.hasPermi('system:bmjj:remove')")
@Log(title = "经验共享-组织领导", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable Long[] ids)
{
return toAjax(jygxBmjjService.deleteJygxBmjjByIds(ids));
}
}
package com.qianhe.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.qianhe.domain.JygxCljwh;
import com.qianhe.service.IJygxCljwhService;
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.qianhe.common.annotation.Log;
import com.qianhe.common.core.controller.BaseController;
import com.qianhe.common.core.domain.AjaxResult;
import com.qianhe.common.enums.BusinessType;
import com.qianhe.common.utils.poi.ExcelUtil;
import com.qianhe.common.core.page.TableDataInfo;
/**
* 经验共享-超链接维护Controller
*
* @author qianhe
* @date 2024-07-30
*/
@RestController
@RequestMapping("/system/cljwh")
public class JygxCljwhController extends BaseController
{
@Autowired
private IJygxCljwhService jygxCljwhService;
/**
* 查询经验共享-超链接维护列表
*/
@PreAuthorize("@ss.hasPermi('system:cljwh:list')")
@GetMapping("/list")
public TableDataInfo list(JygxCljwh jygxCljwh)
{
startPage();
List<JygxCljwh> list = jygxCljwhService.selectJygxCljwhList(jygxCljwh);
return getDataTable(list);
}
/**
* 导出经验共享-超链接维护列表
*/
@PreAuthorize("@ss.hasPermi('system:cljwh:export')")
@Log(title = "经验共享-超链接维护", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JygxCljwh jygxCljwh)
{
List<JygxCljwh> list = jygxCljwhService.selectJygxCljwhList(jygxCljwh);
ExcelUtil<JygxCljwh> util = new ExcelUtil<JygxCljwh>(JygxCljwh.class);
util.exportExcel(response, list, "经验共享-超链接维护数据");
}
/**
* 获取经验共享-超链接维护详细信息
*/
@PreAuthorize("@ss.hasPermi('system:cljwh:query')")
@GetMapping(value = "/{cljid}")
public AjaxResult getInfo(@PathVariable("cljid") Long cljid)
{
return success(jygxCljwhService.selectJygxCljwhByCljid(cljid));
}
/**
* 新增经验共享-超链接维护
*/
@PreAuthorize("@ss.hasPermi('system:cljwh:add')")
@Log(title = "经验共享-超链接维护", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JygxCljwh jygxCljwh)
{
return toAjax(jygxCljwhService.insertJygxCljwh(jygxCljwh));
}
/**
* 修改经验共享-超链接维护
*/
@PreAuthorize("@ss.hasPermi('system:cljwh:edit')")
@Log(title = "经验共享-超链接维护", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JygxCljwh jygxCljwh)
{
return toAjax(jygxCljwhService.updateJygxCljwh(jygxCljwh));
}
/**
* 删除经验共享-超链接维护
*/
@PreAuthorize("@ss.hasPermi('system:cljwh:remove')")
@Log(title = "经验共享-超链接维护", businessType = BusinessType.DELETE)
@DeleteMapping("/{cljids}")
public AjaxResult remove(@PathVariable Long[] cljids)
{
return toAjax(jygxCljwhService.deleteJygxCljwhByCljids(cljids));
}
}
package com.qianhe.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.qianhe.domain.JygxLxwh;
import com.qianhe.service.IJygxLxwhService;
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.qianhe.common.annotation.Log;
import com.qianhe.common.core.controller.BaseController;
import com.qianhe.common.core.domain.AjaxResult;
import com.qianhe.common.enums.BusinessType;
import com.qianhe.common.utils.poi.ExcelUtil;
import com.qianhe.common.core.page.TableDataInfo;
/**
* 经验共享-类型维护Controller
*
* @author qianhe
* @date 2024-07-29
*/
@RestController
@RequestMapping("/system/lxwh")
public class JygxLxwhController extends BaseController
{
@Autowired
private IJygxLxwhService jygxLxwhService;
/**
* 查询经验共享-类型维护列表
*/
@PreAuthorize("@ss.hasPermi('system:lxwh:list')")
@GetMapping("/list")
public TableDataInfo list(JygxLxwh jygxLxwh)
{
startPage();
List<JygxLxwh> list = jygxLxwhService.selectJygxLxwhList(jygxLxwh);
return getDataTable(list);
}
/**
* 导出经验共享-类型维护列表
*/
@PreAuthorize("@ss.hasPermi('system:lxwh:export')")
@Log(title = "经验共享-类型维护", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JygxLxwh jygxLxwh)
{
List<JygxLxwh> list = jygxLxwhService.selectJygxLxwhList(jygxLxwh);
ExcelUtil<JygxLxwh> util = new ExcelUtil<JygxLxwh>(JygxLxwh.class);
util.exportExcel(response, list, "经验共享-类型维护数据");
}
/**
* 获取经验共享-类型维护详细信息
*/
@PreAuthorize("@ss.hasPermi('system:lxwh:query')")
@GetMapping(value = "/{lxid}")
public AjaxResult getInfo(@PathVariable("lxid") Long lxid)
{
return success(jygxLxwhService.selectJygxLxwhByLxid(lxid));
}
/**
* 新增经验共享-类型维护
*/
@PreAuthorize("@ss.hasPermi('system:lxwh:add')")
@Log(title = "经验共享-类型维护", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JygxLxwh jygxLxwh)
{
return toAjax(jygxLxwhService.insertJygxLxwh(jygxLxwh));
}
/**
* 修改经验共享-类型维护
*/
@PreAuthorize("@ss.hasPermi('system:lxwh:edit')")
@Log(title = "经验共享-类型维护", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JygxLxwh jygxLxwh)
{
return toAjax(jygxLxwhService.updateJygxLxwh(jygxLxwh));
}
/**
* 删除经验共享-类型维护
*/
@PreAuthorize("@ss.hasPermi('system:lxwh:remove')")
@Log(title = "经验共享-类型维护", businessType = BusinessType.DELETE)
@DeleteMapping("/{lxids}")
public AjaxResult remove(@PathVariable Long[] lxids)
{
return toAjax(jygxLxwhService.deleteJygxLxwhByLxids(lxids));
}
}
package com.qianhe.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.qianhe.domain.JygxWzgl;
import com.qianhe.service.IJygxWzglService;
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.qianhe.common.annotation.Log;
import com.qianhe.common.core.controller.BaseController;
import com.qianhe.common.core.domain.AjaxResult;
import com.qianhe.common.enums.BusinessType;
import com.qianhe.common.utils.poi.ExcelUtil;
import com.qianhe.common.core.page.TableDataInfo;
/**
* 经验共享-文章管理Controller
*
* @author qianhe
* @date 2024-07-29
*/
@RestController
@RequestMapping("/system/wzgl")
public class JygxWzglController extends BaseController
{
@Autowired
private IJygxWzglService jygxWzglService;
/**
* 查询经验共享-文章管理列表
*/
@PreAuthorize("@ss.hasPermi('system:wzgl:list')")
@GetMapping("/list")
public TableDataInfo list(JygxWzgl jygxWzgl)
{
startPage();
List<JygxWzgl> list = jygxWzglService.selectJygxWzglList(jygxWzgl);
return getDataTable(list);
}
/**
* 查询经验共享-首页轮播图新闻
*/
@GetMapping("/sylbxlist")
public TableDataInfo sylbxlist(JygxWzgl jygxWzgl)
{
startPage();
List<JygxWzgl> list = jygxWzglService.selectSylbxwList(jygxWzgl);
return getDataTable(list);
}
/**
* 查询经验共享-文章管理列表(白名单)
*/
@GetMapping("/listbmd")
public TableDataInfo listbmd(JygxWzgl jygxWzgl)
{
startPage();
List<JygxWzgl> list = jygxWzglService.selectJygxWzglList(jygxWzgl);
return getDataTable(list);
}
/**
* 查询经验共享-首页轮播图新闻(白名单)
*/
@GetMapping("/sylbxlistbmd")
public TableDataInfo sylbxlistbmd(JygxWzgl jygxWzgl)
{
startPage();
List<JygxWzgl> list = jygxWzglService.selectSylbxwList(jygxWzgl);
return getDataTable(list);
}
/**
* 导出经验共享-文章管理列表
*/
@PreAuthorize("@ss.hasPermi('system:wzgl:export')")
@Log(title = "经验共享-文章管理", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JygxWzgl jygxWzgl)
{
List<JygxWzgl> list = jygxWzglService.selectJygxWzglList(jygxWzgl);
ExcelUtil<JygxWzgl> util = new ExcelUtil<JygxWzgl>(JygxWzgl.class);
util.exportExcel(response, list, "经验共享-文章管理数据");
}
/**
* 获取经验共享-文章管理详细信息
*/
@PreAuthorize("@ss.hasPermi('system:wzgl:query')")
@GetMapping(value = "/{wzid}")
public AjaxResult getInfo(@PathVariable("wzid") Long wzid)
{
return success(jygxWzglService.selectJygxWzglByWzid(wzid));
}
/**
* 新增经验共享-文章管理
*/
@PreAuthorize("@ss.hasPermi('system:wzgl:add')")
@Log(title = "经验共享-文章管理", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JygxWzgl jygxWzgl)
{
return toAjax(jygxWzglService.insertJygxWzgl(jygxWzgl));
}
/**
* 新增首页轮播新闻
*/
@PostMapping("/addxw")
public AjaxResult addxw(@RequestBody JygxWzgl jygxWzgl)
{
return toAjax(jygxWzglService.insertxw(jygxWzgl));
}
/**
* 修改经验共享-文章管理
*/
@PreAuthorize("@ss.hasPermi('system:wzgl:edit')")
@Log(title = "经验共享-文章管理", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JygxWzgl jygxWzgl)
{
return toAjax(jygxWzglService.updateJygxWzgl(jygxWzgl));
}
/**
* 删除经验共享-文章管理
*/
@PreAuthorize("@ss.hasPermi('system:wzgl:remove')")
@Log(title = "经验共享-文章管理", businessType = BusinessType.DELETE)
@DeleteMapping("/{wzids}")
public AjaxResult remove(@PathVariable Long[] wzids)
{
return toAjax(jygxWzglService.deleteJygxWzglByWzids(wzids));
}
/**
*数据置顶
*/
@GetMapping("/getwzzd")
public AjaxResult getwzzd(JygxWzgl jygxWzgl)
{
return toAjax(jygxWzglService.updatewzzd(jygxWzgl));
}
/**
*取消置顶
*/
@GetMapping("/getqxzd")
public AjaxResult getqxzd(JygxWzgl jygxWzgl)
{
return toAjax(jygxWzglService.updateqxzd(jygxWzgl));
}
}
package com.qianhe.controller;
import java.util.List;
import javax.servlet.http.HttpServletResponse;
import com.qianhe.domain.JygxYyxtwh;
import com.qianhe.service.IJygxYyxtwhService;
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.qianhe.common.annotation.Log;
import com.qianhe.common.core.controller.BaseController;
import com.qianhe.common.core.domain.AjaxResult;
import com.qianhe.common.enums.BusinessType;
import com.qianhe.common.utils.poi.ExcelUtil;
import com.qianhe.common.core.page.TableDataInfo;
/**
* 经验共享-应用系统维护Controller
*
* @author qianhe
* @date 2024-07-29
*/
@RestController
@RequestMapping("/system/yyxtwh")
public class JygxYyxtwhController extends BaseController
{
@Autowired
private IJygxYyxtwhService jygxYyxtwhService;
/**
* 查询经验共享-应用系统维护列表
*/
@PreAuthorize("@ss.hasPermi('system:yyxtwh:list')")
@GetMapping("/list")
public TableDataInfo list(JygxYyxtwh jygxYyxtwh)
{
startPage();
List<JygxYyxtwh> list = jygxYyxtwhService.selectJygxYyxtwhList(jygxYyxtwh);
return getDataTable(list);
}
/**
* 导出经验共享-应用系统维护列表
*/
@PreAuthorize("@ss.hasPermi('system:yyxtwh:export')")
@Log(title = "经验共享-应用系统维护", businessType = BusinessType.EXPORT)
@PostMapping("/export")
public void export(HttpServletResponse response, JygxYyxtwh jygxYyxtwh)
{
List<JygxYyxtwh> list = jygxYyxtwhService.selectJygxYyxtwhList(jygxYyxtwh);
ExcelUtil<JygxYyxtwh> util = new ExcelUtil<JygxYyxtwh>(JygxYyxtwh.class);
util.exportExcel(response, list, "经验共享-应用系统维护数据");
}
/**
* 获取经验共享-应用系统维护详细信息
*/
@PreAuthorize("@ss.hasPermi('system:yyxtwh:query')")
@GetMapping(value = "/{yyxtid}")
public AjaxResult getInfo(@PathVariable("yyxtid") Long yyxtid)
{
return success(jygxYyxtwhService.selectJygxYyxtwhByYyxtid(yyxtid));
}
/**
* 新增经验共享-应用系统维护
*/
@PreAuthorize("@ss.hasPermi('system:yyxtwh:add')")
@Log(title = "经验共享-应用系统维护", businessType = BusinessType.INSERT)
@PostMapping
public AjaxResult add(@RequestBody JygxYyxtwh jygxYyxtwh)
{
return toAjax(jygxYyxtwhService.insertJygxYyxtwh(jygxYyxtwh));
}
/**
* 修改经验共享-应用系统维护
*/
@PreAuthorize("@ss.hasPermi('system:yyxtwh:edit')")
@Log(title = "经验共享-应用系统维护", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody JygxYyxtwh jygxYyxtwh)
{
return toAjax(jygxYyxtwhService.updateJygxYyxtwh(jygxYyxtwh));
}
/**
* 删除经验共享-应用系统维护
*/
@PreAuthorize("@ss.hasPermi('system:yyxtwh:remove')")
@Log(title = "经验共享-应用系统维护", businessType = BusinessType.DELETE)
@DeleteMapping("/{yyxtids}")
public AjaxResult remove(@PathVariable Long[] yyxtids)
{
return toAjax(jygxYyxtwhService.deleteJygxYyxtwhByYyxtids(yyxtids));
}
}
package com.qianhe.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qianhe.common.annotation.Excel;
import com.qianhe.common.core.domain.BaseEntity;
/**
* 经验共享-组织领导对象 jygx_bmjj
*
* @author qianhe
* @date 2024-07-30
*/
public class JygxBmjj extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long id;
/** 部门简介维护 */
@Excel(name = "部门简介维护")
private String bmjjwh;
/** 组织领导 */
@Excel(name = "组织领导")
private String zzld;
/** 三基管理人员 */
@Excel(name = "三基管理人员")
private String sjglry;
/** 预留1 */
@Excel(name = "预留1")
private String yl1;
/** 预留2 */
@Excel(name = "预留2")
private String yl2;
/** 预留3 */
@Excel(name = "预留3")
private String yl3;
/** 预留4 */
@Excel(name = "预留4")
private String yl4;
/** 预留5 */
@Excel(name = "预留5")
private String yl5;
public void setId(Long id)
{
this.id = id;
}
public Long getId()
{
return id;
}
public void setBmjjwh(String bmjjwh)
{
this.bmjjwh = bmjjwh;
}
public String getBmjjwh()
{
return bmjjwh;
}
public void setZzld(String zzld)
{
this.zzld = zzld;
}
public String getZzld()
{
return zzld;
}
public void setSjglry(String sjglry)
{
this.sjglry = sjglry;
}
public String getSjglry()
{
return sjglry;
}
public void setYl1(String yl1)
{
this.yl1 = yl1;
}
public String getYl1()
{
return yl1;
}
public void setYl2(String yl2)
{
this.yl2 = yl2;
}
public String getYl2()
{
return yl2;
}
public void setYl3(String yl3)
{
this.yl3 = yl3;
}
public String getYl3()
{
return yl3;
}
public void setYl4(String yl4)
{
this.yl4 = yl4;
}
public String getYl4()
{
return yl4;
}
public void setYl5(String yl5)
{
this.yl5 = yl5;
}
public String getYl5()
{
return yl5;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
.append("bmjjwh", getBmjjwh())
.append("zzld", getZzld())
.append("sjglry", getSjglry())
.append("yl1", getYl1())
.append("yl2", getYl2())
.append("yl3", getYl3())
.append("yl4", getYl4())
.append("yl5", getYl5())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}
package com.qianhe.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qianhe.common.annotation.Excel;
import com.qianhe.common.core.domain.BaseEntity;
/**
* 经验共享-超链接维护对象 jygx_cljwh
*
* @author qianhe
* @date 2024-07-30
*/
public class JygxCljwh extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long cljid;
/** 排序 */
@Excel(name = "排序")
private Long px;
/** 名称标题 */
@Excel(name = "名称标题")
private String mcbt;
/** 连接 */
@Excel(name = "连接")
private String lj;
/** 预留1 */
@Excel(name = "预留1")
private String yl1;
/** 预留2 */
@Excel(name = "预留2")
private String yl2;
/** 预留3 */
@Excel(name = "预留3")
private String yl3;
/** 预留4 */
@Excel(name = "预留4")
private String yl4;
/** 预留5 */
@Excel(name = "预留5")
private String yl5;
/** 跳转方式(新页签,当前页) */
@Excel(name = "跳转方式", readConverterExp = "新=页签,当前页")
private String tzfs;
/** 发布状态(3未发布/4发布) */
@Excel(name = "发布状态", readConverterExp = "3=未发布/4发布")
private String fbzt;
public void setCljid(Long cljid)
{
this.cljid = cljid;
}
public Long getCljid()
{
return cljid;
}
public void setPx(Long px)
{
this.px = px;
}
public Long getPx()
{
return px;
}
public void setMcbt(String mcbt)
{
this.mcbt = mcbt;
}
public String getMcbt()
{
return mcbt;
}
public void setLj(String lj)
{
this.lj = lj;
}
public String getLj()
{
return lj;
}
public void setYl1(String yl1)
{
this.yl1 = yl1;
}
public String getYl1()
{
return yl1;
}
public void setYl2(String yl2)
{
this.yl2 = yl2;
}
public String getYl2()
{
return yl2;
}
public void setYl3(String yl3)
{
this.yl3 = yl3;
}
public String getYl3()
{
return yl3;
}
public void setYl4(String yl4)
{
this.yl4 = yl4;
}
public String getYl4()
{
return yl4;
}
public void setYl5(String yl5)
{
this.yl5 = yl5;
}
public String getYl5()
{
return yl5;
}
public void setTzfs(String tzfs)
{
this.tzfs = tzfs;
}
public String getTzfs()
{
return tzfs;
}
public void setFbzt(String fbzt)
{
this.fbzt = fbzt;
}
public String getFbzt()
{
return fbzt;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("cljid", getCljid())
.append("px", getPx())
.append("mcbt", getMcbt())
.append("lj", getLj())
.append("yl1", getYl1())
.append("yl2", getYl2())
.append("yl3", getYl3())
.append("yl4", getYl4())
.append("yl5", getYl5())
.append("tzfs", getTzfs())
.append("fbzt", getFbzt())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}
package com.qianhe.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qianhe.common.annotation.Excel;
import com.qianhe.common.core.domain.BaseEntity;
/**
* 经验共享-类型维护对象 jygx_lxwh
*
* @author qianhe
* @date 2024-07-29
*/
public class JygxLxwh extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long lxid;
/** 维护类型 */
@Excel(name = "维护类型")
private String lxmc;
/** 模块名称 */
@Excel(name = "模块名称")
private String mkmc;
/** 预留1 */
@Excel(name = "预留1")
private String yl1;
/** 预留2 */
@Excel(name = "预留2")
private String yl2;
/** 预留3 */
@Excel(name = "预留3")
private String yl3;
/** 预留4 */
@Excel(name = "预留4")
private String yl4;
/** 预留5 */
@Excel(name = "预留5")
private String yl5;
/** 删除标志(0代表存在 2代表删除) */
private String delFlag;
public void setLxid(Long lxid)
{
this.lxid = lxid;
}
public Long getLxid()
{
return lxid;
}
public void setLxmc(String lxmc)
{
this.lxmc = lxmc;
}
public String getLxmc()
{
return lxmc;
}
public void setMkmc(String mkmc)
{
this.mkmc = mkmc;
}
public String getMkmc()
{
return mkmc;
}
public void setYl1(String yl1)
{
this.yl1 = yl1;
}
public String getYl1()
{
return yl1;
}
public void setYl2(String yl2)
{
this.yl2 = yl2;
}
public String getYl2()
{
return yl2;
}
public void setYl3(String yl3)
{
this.yl3 = yl3;
}
public String getYl3()
{
return yl3;
}
public void setYl4(String yl4)
{
this.yl4 = yl4;
}
public String getYl4()
{
return yl4;
}
public void setYl5(String yl5)
{
this.yl5 = yl5;
}
public String getYl5()
{
return yl5;
}
public void setDelFlag(String delFlag)
{
this.delFlag = delFlag;
}
public String getDelFlag()
{
return delFlag;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("lxid", getLxid())
.append("lxmc", getLxmc())
.append("mkmc", getMkmc())
.append("yl1", getYl1())
.append("yl2", getYl2())
.append("yl3", getYl3())
.append("yl4", getYl4())
.append("yl5", getYl5())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.append("delFlag", getDelFlag())
.toString();
}
}
package com.qianhe.domain;
import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qianhe.common.annotation.Excel;
import com.qianhe.common.core.domain.BaseEntity;
/**
* 经验共享-文章管理对象 jygx_wzgl
*
* @author qianhe
* @date 2024-07-29
*/
public class JygxWzgl extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
@JsonFormat(shape = JsonFormat.Shape.STRING)
private Long wzid;
/** 排序 */
@Excel(name = "排序")
private Long px;
/** 信息来源 */
@Excel(name = "信息来源")
private String xxly;
/** 类型id */
@Excel(name = "类型id")
private Long lxid;
/** 维护类型 */
@Excel(name = "维护类型")
private String lxmc;
/** 文章内容 */
@Excel(name = "文章内容")
private String wznr;
/** 文章标题 */
@Excel(name = "文章标题")
private String wzbt;
/** 审核状态(0未提交/1已退回/2已提交/3审核通过未发布/4审核通过发布) */
@Excel(name = "审核状态", readConverterExp = "0=未提交/1已退回/2已提交/3审核通过未发布/4审核通过发布")
private String shzt;
/** 封面附件名称 */
@Excel(name = "封面附件名称")
private String fjmc;
/** 封面附件地址 */
@Excel(name = "封面附件地址")
private String fjdz;
/** 封面附件类型 */
@Excel(name = "封面附件类型")
private String fjlx;
/** 文章作者 */
@Excel(name = "文章作者")
private String wzzz;
/** 文章时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "文章时间", width = 30, dateFormat = "yyyy-MM-dd")
private Date wzsj;
/** 预留1 */
@Excel(name = "预留1")
private String yl1;
/** 预留2 */
@Excel(name = "预留2")
private String yl2;
/** 预留3 */
@Excel(name = "预留3")
private String yl3;
/** 预留4 */
@Excel(name = "预留4")
private String yl4;
/** 预留5 */
@Excel(name = "预留5")
private String yl5;
/** 阅读数量 */
@Excel(name = "阅读数量")
private Long ydsl;
/** 文章管理附件 */
@Excel(name = "文章管理附件")
private List<JygxWzglfj> jygxWzglfjList;
public List<JygxWzglfj> getJygxWzglfjList() {
return jygxWzglfjList;
}
public void setJygxWzglfjList(List<JygxWzglfj> jygxWzglfjList) {
this.jygxWzglfjList = jygxWzglfjList;
}
public void setWzid(Long wzid)
{
this.wzid = wzid;
}
public Long getWzid()
{
return wzid;
}
public void setPx(Long px)
{
this.px = px;
}
public Long getPx()
{
return px;
}
public void setXxly(String xxly)
{
this.xxly = xxly;
}
public String getXxly()
{
return xxly;
}
public void setLxid(Long lxid)
{
this.lxid = lxid;
}
public Long getLxid()
{
return lxid;
}
public void setLxmc(String lxmc)
{
this.lxmc = lxmc;
}
public String getLxmc()
{
return lxmc;
}
public void setWznr(String wznr)
{
this.wznr = wznr;
}
public String getWznr()
{
return wznr;
}
public void setWzbt(String wzbt)
{
this.wzbt = wzbt;
}
public String getWzbt()
{
return wzbt;
}
public void setShzt(String shzt)
{
this.shzt = shzt;
}
public String getShzt()
{
return shzt;
}
public void setFjmc(String fjmc)
{
this.fjmc = fjmc;
}
public String getFjmc()
{
return fjmc;
}
public void setFjdz(String fjdz)
{
this.fjdz = fjdz;
}
public String getFjdz()
{
return fjdz;
}
public void setFjlx(String fjlx)
{
this.fjlx = fjlx;
}
public String getFjlx()
{
return fjlx;
}
public void setWzzz(String wzzz)
{
this.wzzz = wzzz;
}
public String getWzzz()
{
return wzzz;
}
public void setWzsj(Date wzsj)
{
this.wzsj = wzsj;
}
public Date getWzsj()
{
return wzsj;
}
public void setYl1(String yl1)
{
this.yl1 = yl1;
}
public String getYl1()
{
return yl1;
}
public void setYl2(String yl2)
{
this.yl2 = yl2;
}
public String getYl2()
{
return yl2;
}
public void setYl3(String yl3)
{
this.yl3 = yl3;
}
public String getYl3()
{
return yl3;
}
public void setYl4(String yl4)
{
this.yl4 = yl4;
}
public String getYl4()
{
return yl4;
}
public void setYl5(String yl5)
{
this.yl5 = yl5;
}
public String getYl5()
{
return yl5;
}
public void setYdsl(Long ydsl)
{
this.ydsl = ydsl;
}
public Long getYdsl()
{
return ydsl;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("wzid", getWzid())
.append("px", getPx())
.append("xxly", getXxly())
.append("lxid", getLxid())
.append("lxmc", getLxmc())
.append("wznr", getWznr())
.append("wzbt", getWzbt())
.append("shzt", getShzt())
.append("fjmc", getFjmc())
.append("fjdz", getFjdz())
.append("fjlx", getFjlx())
.append("wzzz", getWzzz())
.append("wzsj", getWzsj())
.append("yl1", getYl1())
.append("yl2", getYl2())
.append("yl3", getYl3())
.append("yl4", getYl4())
.append("yl5", getYl5())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.append("ydsl", getYdsl())
.toString();
}
}
package com.qianhe.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qianhe.common.annotation.Excel;
import com.qianhe.common.core.domain.BaseEntity;
/**
* 经验共享-文章管理附件对象 jygx_wzglfj
*
* @author qianhe
* @date 2024-07-29
*/
public class JygxWzglfj extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long fjid;
/** 文章id */
@Excel(name = "文章id")
private Long wzid;
/** 附件名称 */
@Excel(name = "附件名称")
private String fileName;
/** 附件地址 */
@Excel(name = "附件地址")
private String accessoryUrl;
/** 附件类型 */
@Excel(name = "附件类型")
private String accessoryType;
public void setFjid(Long fjid)
{
this.fjid = fjid;
}
public Long getFjid()
{
return fjid;
}
public void setWzid(Long wzid)
{
this.wzid = wzid;
}
public Long getWzid()
{
return wzid;
}
public void setFileName(String fileName)
{
this.fileName = fileName;
}
public String getFileName()
{
return fileName;
}
public void setAccessoryUrl(String accessoryUrl)
{
this.accessoryUrl = accessoryUrl;
}
public String getAccessoryUrl()
{
return accessoryUrl;
}
public void setAccessoryType(String accessoryType)
{
this.accessoryType = accessoryType;
}
public String getAccessoryType()
{
return accessoryType;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("fjid", getFjid())
.append("wzid", getWzid())
.append("fileName", getFileName())
.append("accessoryUrl", getAccessoryUrl())
.append("accessoryType", getAccessoryType())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.toString();
}
}
package com.qianhe.domain;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.qianhe.common.annotation.Excel;
import com.qianhe.common.core.domain.BaseEntity;
/**
* 经验共享-应用系统维护对象 jygx_yyxtwh
*
* @author qianhe
* @date 2024-07-29
*/
public class JygxYyxtwh extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 主键 */
private Long yyxtid;
/** 排序 */
@Excel(name = "排序")
private Long px;
/** 应用系统名称 */
@Excel(name = "应用系统名称")
private String yyxtmc;
/** 连接地址 */
@Excel(name = "连接地址")
private String ljdz;
/** 图标地址 */
@Excel(name = "图标地址")
private String tbdz;
/** 跳转方式(新页签,当前页) */
@Excel(name = "跳转方式", readConverterExp = "新=页签,当前页")
private String tzfs;
/** 预留1 */
@Excel(name = "预留1")
private String yl1;
/** 预留2 */
@Excel(name = "预留2")
private String yl2;
/** 预留3 */
@Excel(name = "预留3")
private String yl3;
/** 预留4 */
@Excel(name = "预留4")
private String yl4;
/** 预留5 */
@Excel(name = "预留5")
private String yl5;
/** 发布状态(3未发布/4发布) */
@Excel(name = "发布状态", readConverterExp = "3=未发布/4发布")
private String fbzt;
public void setYyxtid(Long yyxtid)
{
this.yyxtid = yyxtid;
}
public Long getYyxtid()
{
return yyxtid;
}
public void setPx(Long px)
{
this.px = px;
}
public Long getPx()
{
return px;
}
public void setYyxtmc(String yyxtmc)
{
this.yyxtmc = yyxtmc;
}
public String getYyxtmc()
{
return yyxtmc;
}
public void setLjdz(String ljdz)
{
this.ljdz = ljdz;
}
public String getLjdz()
{
return ljdz;
}
public void setTbdz(String tbdz)
{
this.tbdz = tbdz;
}
public String getTbdz()
{
return tbdz;
}
public void setTzfs(String tzfs)
{
this.tzfs = tzfs;
}
public String getTzfs()
{
return tzfs;
}
public void setYl1(String yl1)
{
this.yl1 = yl1;
}
public String getYl1()
{
return yl1;
}
public void setYl2(String yl2)
{
this.yl2 = yl2;
}
public String getYl2()
{
return yl2;
}
public void setYl3(String yl3)
{
this.yl3 = yl3;
}
public String getYl3()
{
return yl3;
}
public void setYl4(String yl4)
{
this.yl4 = yl4;
}
public String getYl4()
{
return yl4;
}
public void setYl5(String yl5)
{
this.yl5 = yl5;
}
public String getYl5()
{
return yl5;
}
public void setFbzt(String fbzt)
{
this.fbzt = fbzt;
}
public String getFbzt()
{
return fbzt;
}
@Override
public String toString() {
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
.append("yyxtid", getYyxtid())
.append("px", getPx())
.append("yyxtmc", getYyxtmc())
.append("ljdz", getLjdz())
.append("tbdz", getTbdz())
.append("tzfs", getTzfs())
.append("yl1", getYl1())
.append("yl2", getYl2())
.append("yl3", getYl3())
.append("yl4", getYl4())
.append("yl5", getYl5())
.append("createBy", getCreateBy())
.append("createTime", getCreateTime())
.append("updateBy", getUpdateBy())
.append("updateTime", getUpdateTime())
.append("remark", getRemark())
.append("fbzt", getFbzt())
.toString();
}
}
package com.qianhe.mapper;
import com.qianhe.domain.JygxBmjj;
import java.util.List;
/**
* 经验共享-组织领导Mapper接口
*
* @author qianhe
* @date 2024-07-30
*/
public interface JygxBmjjMapper
{
/**
* 查询经验共享-组织领导
*
* @param id 经验共享-组织领导主键
* @return 经验共享-组织领导
*/
public JygxBmjj selectJygxBmjjById(Long id);
/**
* 查询经验共享-组织领导列表
*
* @param jygxBmjj 经验共享-组织领导
* @return 经验共享-组织领导集合
*/
public List<JygxBmjj> selectJygxBmjjList(JygxBmjj jygxBmjj);
/**
* 新增经验共享-组织领导
*
* @param jygxBmjj 经验共享-组织领导
* @return 结果
*/
public int insertJygxBmjj(JygxBmjj jygxBmjj);
/**
* 修改经验共享-组织领导
*
* @param jygxBmjj 经验共享-组织领导
* @return 结果
*/
public int updateJygxBmjj(JygxBmjj jygxBmjj);
/**
* 删除经验共享-组织领导
*
* @param id 经验共享-组织领导主键
* @return 结果
*/
public int deleteJygxBmjjById(Long id);
/**
* 批量删除经验共享-组织领导
*
* @param ids 需要删除的数据主键集合
* @return 结果
*/
public int deleteJygxBmjjByIds(Long[] ids);
}
package com.qianhe.mapper;
import com.qianhe.domain.JygxCljwh;
import java.util.List;
/**
* 经验共享-超链接维护Mapper接口
*
* @author qianhe
* @date 2024-07-30
*/
public interface JygxCljwhMapper
{
/**
* 查询经验共享-超链接维护
*
* @param cljid 经验共享-超链接维护主键
* @return 经验共享-超链接维护
*/
public JygxCljwh selectJygxCljwhByCljid(Long cljid);
/**
* 查询经验共享-超链接维护列表
*
* @param jygxCljwh 经验共享-超链接维护
* @return 经验共享-超链接维护集合
*/
public List<JygxCljwh> selectJygxCljwhList(JygxCljwh jygxCljwh);
/**
* 新增经验共享-超链接维护
*
* @param jygxCljwh 经验共享-超链接维护
* @return 结果
*/
public int insertJygxCljwh(JygxCljwh jygxCljwh);
/**
* 修改经验共享-超链接维护
*
* @param jygxCljwh 经验共享-超链接维护
* @return 结果
*/
public int updateJygxCljwh(JygxCljwh jygxCljwh);
/**
* 删除经验共享-超链接维护
*
* @param cljid 经验共享-超链接维护主键
* @return 结果
*/
public int deleteJygxCljwhByCljid(Long cljid);
/**
* 批量删除经验共享-超链接维护
*
* @param cljids 需要删除的数据主键集合
* @return 结果
*/
public int deleteJygxCljwhByCljids(Long[] cljids);
}
package com.qianhe.mapper;
import com.qianhe.domain.JygxLxwh;
import com.qianhe.domain.JygxWzglfj;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 经验共享-类型维护Mapper接口
*
* @author qianhe
* @date 2024-07-29
*/
public interface JygxLxwhMapper
{
/**
* 查询经验共享-类型维护
*
* @param lxid 经验共享-类型维护主键
* @return 经验共享-类型维护
*/
public JygxLxwh selectJygxLxwhByLxid(Long lxid);
/**
* 查询经验共享-类型维护列表
*
* @param jygxLxwh 经验共享-类型维护
* @return 经验共享-类型维护集合
*/
public List<JygxLxwh> selectJygxLxwhList(JygxLxwh jygxLxwh);
/**
* 新增经验共享-类型维护
*
* @param jygxLxwh 经验共享-类型维护
* @return 结果
*/
public int insertJygxLxwh(JygxLxwh jygxLxwh);
/**
* 修改经验共享-类型维护
*
* @param jygxLxwh 经验共享-类型维护
* @return 结果
*/
public int updateJygxLxwh(JygxLxwh jygxLxwh);
/**
* 删除经验共享-类型维护
*
* @param lxid 经验共享-类型维护主键
* @return 结果
*/
public int deleteJygxLxwhByLxid(Long lxid);
/**
* 批量删除经验共享-类型维护
*
* @param lxids 需要删除的数据主键集合
* @return 结果
*/
public int deleteJygxLxwhByLxids(Long[] lxids);
}
package com.qianhe.mapper;
import com.qianhe.domain.JygxWzgl;
import com.qianhe.domain.JygxWzglfj;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 经验共享-文章管理Mapper接口
*
* @author qianhe
* @date 2024-07-29
*/
public interface JygxWzglMapper
{
/**
* 查询经验共享-文章管理
*
* @param wzid 经验共享-文章管理主键
* @return 经验共享-文章管理
*/
public JygxWzgl selectJygxWzglByWzid(Long wzid);
/**
* 查询经验共享-文章管理列表
*
* @param jygxWzgl 经验共享-文章管理
* @return 经验共享-文章管理集合
*/
public List<JygxWzgl> selectJygxWzglList(JygxWzgl jygxWzgl);
/**
* 查询经验共享-首页轮播图新闻
*
* @param jygxWzgl
* @return
*/
public List<JygxWzgl> selectSylbxwList(JygxWzgl jygxWzgl);
/**
* 新增经验共享-文章管理
*
* @param jygxWzgl 经验共享-文章管理
* @return 结果
*/
public int insertJygxWzgl(JygxWzgl jygxWzgl);
/**
* 修改经验共享-文章管理
*
* @param jygxWzgl 经验共享-文章管理
* @return 结果
*/
public int updateJygxWzgl(JygxWzgl jygxWzgl);
/**
* 取消置顶
*/
public int updateqxzd(JygxWzgl jygxWzgl);
/**
* 数据置顶
*/
public int updatezd(JygxWzgl jygxWzgl);
/**
* 删除经验共享-文章管理
*
* @param wzid 经验共享-文章管理主键
* @return 结果
*/
public int deleteJygxWzglByWzid(Long wzid);
/**
* 批量删除经验共享-文章管理
*
* @param wzids 需要删除的数据主键集合
* @return 结果
*/
public int deleteJygxWzglByWzids(Long[] wzids);
/**
* 查询附件
* @param wzid
* @return
*/
List<JygxWzglfj> selectFile(@Param("wzid") Long wzid);
/**
* 批量新增附件
*/
int insertFile(List<JygxWzglfj> list);
/**
* 根据附件id删除附件信息
* @param wzid
*/
void deleteFileByBusinessId(@Param("wzid") Long wzid);
}
package com.qianhe.mapper;
import com.qianhe.domain.JygxYyxtwh;
import java.util.List;
/**
* 经验共享-应用系统维护Mapper接口
*
* @author qianhe
* @date 2024-07-29
*/
public interface JygxYyxtwhMapper
{
/**
* 查询经验共享-应用系统维护
*
* @param yyxtid 经验共享-应用系统维护主键
* @return 经验共享-应用系统维护
*/
public JygxYyxtwh selectJygxYyxtwhByYyxtid(Long yyxtid);
/**
* 查询经验共享-应用系统维护列表
*
* @param jygxYyxtwh 经验共享-应用系统维护
* @return 经验共享-应用系统维护集合
*/
public List<JygxYyxtwh> selectJygxYyxtwhList(JygxYyxtwh jygxYyxtwh);
/**
* 新增经验共享-应用系统维护
*
* @param jygxYyxtwh 经验共享-应用系统维护
* @return 结果
*/
public int insertJygxYyxtwh(JygxYyxtwh jygxYyxtwh);
/**
* 修改经验共享-应用系统维护
*
* @param jygxYyxtwh 经验共享-应用系统维护
* @return 结果
*/
public int updateJygxYyxtwh(JygxYyxtwh jygxYyxtwh);
/**
* 删除经验共享-应用系统维护
*
* @param yyxtid 经验共享-应用系统维护主键
* @return 结果
*/
public int deleteJygxYyxtwhByYyxtid(Long yyxtid);
/**
* 批量删除经验共享-应用系统维护
*
* @param yyxtids 需要删除的数据主键集合
* @return 结果
*/
public int deleteJygxYyxtwhByYyxtids(Long[] yyxtids);
}
package com.qianhe.service;
import com.qianhe.domain.JygxBmjj;
import java.util.List;
/**
* 经验共享-组织领导Service接口
*
* @author qianhe
* @date 2024-07-30
*/
public interface IJygxBmjjService
{
/**
* 查询经验共享-组织领导
*
* @param id 经验共享-组织领导主键
* @return 经验共享-组织领导
*/
public JygxBmjj selectJygxBmjjById(Long id);
/**
* 查询经验共享-组织领导列表
*
* @param jygxBmjj 经验共享-组织领导
* @return 经验共享-组织领导集合
*/
public List<JygxBmjj> selectJygxBmjjList(JygxBmjj jygxBmjj);
/**
* 新增经验共享-组织领导
*
* @param jygxBmjj 经验共享-组织领导
* @return 结果
*/
public int insertJygxBmjj(JygxBmjj jygxBmjj);
/**
* 修改经验共享-组织领导
*
* @param jygxBmjj 经验共享-组织领导
* @return 结果
*/
public int updateJygxBmjj(JygxBmjj jygxBmjj);
/**
* 批量删除经验共享-组织领导
*
* @param ids 需要删除的经验共享-组织领导主键集合
* @return 结果
*/
public int deleteJygxBmjjByIds(Long[] ids);
/**
* 删除经验共享-组织领导信息
*
* @param id 经验共享-组织领导主键
* @return 结果
*/
public int deleteJygxBmjjById(Long id);
}
package com.qianhe.service;
import com.qianhe.domain.JygxCljwh;
import java.util.List;
/**
* 经验共享-超链接维护Service接口
*
* @author qianhe
* @date 2024-07-30
*/
public interface IJygxCljwhService
{
/**
* 查询经验共享-超链接维护
*
* @param cljid 经验共享-超链接维护主键
* @return 经验共享-超链接维护
*/
public JygxCljwh selectJygxCljwhByCljid(Long cljid);
/**
* 查询经验共享-超链接维护列表
*
* @param jygxCljwh 经验共享-超链接维护
* @return 经验共享-超链接维护集合
*/
public List<JygxCljwh> selectJygxCljwhList(JygxCljwh jygxCljwh);
/**
* 新增经验共享-超链接维护
*
* @param jygxCljwh 经验共享-超链接维护
* @return 结果
*/
public int insertJygxCljwh(JygxCljwh jygxCljwh);
/**
* 修改经验共享-超链接维护
*
* @param jygxCljwh 经验共享-超链接维护
* @return 结果
*/
public int updateJygxCljwh(JygxCljwh jygxCljwh);
/**
* 批量删除经验共享-超链接维护
*
* @param cljids 需要删除的经验共享-超链接维护主键集合
* @return 结果
*/
public int deleteJygxCljwhByCljids(Long[] cljids);
/**
* 删除经验共享-超链接维护信息
*
* @param cljid 经验共享-超链接维护主键
* @return 结果
*/
public int deleteJygxCljwhByCljid(Long cljid);
}
package com.qianhe.service;
import com.qianhe.domain.JygxLxwh;
import java.util.List;
/**
* 经验共享-类型维护Service接口
*
* @author qianhe
* @date 2024-07-29
*/
public interface IJygxLxwhService
{
/**
* 查询经验共享-类型维护
*
* @param lxid 经验共享-类型维护主键
* @return 经验共享-类型维护
*/
public JygxLxwh selectJygxLxwhByLxid(Long lxid);
/**
* 查询经验共享-类型维护列表
*
* @param jygxLxwh 经验共享-类型维护
* @return 经验共享-类型维护集合
*/
public List<JygxLxwh> selectJygxLxwhList(JygxLxwh jygxLxwh);
/**
* 新增经验共享-类型维护
*
* @param jygxLxwh 经验共享-类型维护
* @return 结果
*/
public int insertJygxLxwh(JygxLxwh jygxLxwh);
/**
* 修改经验共享-类型维护
*
* @param jygxLxwh 经验共享-类型维护
* @return 结果
*/
public int updateJygxLxwh(JygxLxwh jygxLxwh);
/**
* 批量删除经验共享-类型维护
*
* @param lxids 需要删除的经验共享-类型维护主键集合
* @return 结果
*/
public int deleteJygxLxwhByLxids(Long[] lxids);
/**
* 删除经验共享-类型维护信息
*
* @param lxid 经验共享-类型维护主键
* @return 结果
*/
public int deleteJygxLxwhByLxid(Long lxid);
}
package com.qianhe.service;
import com.qianhe.domain.JygxWzgl;
import java.util.List;
/**
* 经验共享-文章管理Service接口
*
* @author qianhe
* @date 2024-07-29
*/
public interface IJygxWzglService
{
/**
* 查询经验共享-文章管理
*
* @param wzid 经验共享-文章管理主键
* @return 经验共享-文章管理
*/
public JygxWzgl selectJygxWzglByWzid(Long wzid);
/**
* 查询经验共享-文章管理列表
*
* @param jygxWzgl 经验共享-文章管理
* @return 经验共享-文章管理集合
*/
public List<JygxWzgl> selectJygxWzglList(JygxWzgl jygxWzgl);
/**
* 查询经验共享-首页轮播图新闻
*
* @param jygxWzgl
* @return
*/
public List<JygxWzgl> selectSylbxwList(JygxWzgl jygxWzgl);
/**
* 新增经验共享-文章管理
*
* @param jygxWzgl 经验共享-文章管理
* @return 结果
*/
public int insertJygxWzgl(JygxWzgl jygxWzgl);
/**
* 新增首页轮播新闻
*/
public int insertxw(JygxWzgl jygxWzgl);
/**
* 修改经验共享-文章管理
*
* @param jygxWzgl 经验共享-文章管理
* @return 结果
*/
public int updateJygxWzgl(JygxWzgl jygxWzgl);
/**
* 批量删除经验共享-文章管理
*
* @param wzids 需要删除的经验共享-文章管理主键集合
* @return 结果
*/
public int deleteJygxWzglByWzids(Long[] wzids);
/**
* 删除经验共享-文章管理信息
*
* @param wzid 经验共享-文章管理主键
* @return 结果
*/
public int deleteJygxWzglByWzid(Long wzid);
/**
* 数据置顶
*/
public int updatewzzd(JygxWzgl jygxWzgl);
/**
* 取消置顶
*/
public int updateqxzd(JygxWzgl jygxWzgl);
}
package com.qianhe.service;
import com.qianhe.domain.JygxYyxtwh;
import java.util.List;
/**
* 经验共享-应用系统维护Service接口
*
* @author qianhe
* @date 2024-07-29
*/
public interface IJygxYyxtwhService
{
/**
* 查询经验共享-应用系统维护
*
* @param yyxtid 经验共享-应用系统维护主键
* @return 经验共享-应用系统维护
*/
public JygxYyxtwh selectJygxYyxtwhByYyxtid(Long yyxtid);
/**
* 查询经验共享-应用系统维护列表
*
* @param jygxYyxtwh 经验共享-应用系统维护
* @return 经验共享-应用系统维护集合
*/
public List<JygxYyxtwh> selectJygxYyxtwhList(JygxYyxtwh jygxYyxtwh);
/**
* 新增经验共享-应用系统维护
*
* @param jygxYyxtwh 经验共享-应用系统维护
* @return 结果
*/
public int insertJygxYyxtwh(JygxYyxtwh jygxYyxtwh);
/**
* 修改经验共享-应用系统维护
*
* @param jygxYyxtwh 经验共享-应用系统维护
* @return 结果
*/
public int updateJygxYyxtwh(JygxYyxtwh jygxYyxtwh);
/**
* 批量删除经验共享-应用系统维护
*
* @param yyxtids 需要删除的经验共享-应用系统维护主键集合
* @return 结果
*/
public int deleteJygxYyxtwhByYyxtids(Long[] yyxtids);
/**
* 删除经验共享-应用系统维护信息
*
* @param yyxtid 经验共享-应用系统维护主键
* @return 结果
*/
public int deleteJygxYyxtwhByYyxtid(Long yyxtid);
}
package com.qianhe.service.impl;
import java.util.List;
import com.qianhe.common.utils.DateUtils;
import com.qianhe.domain.JygxBmjj;
import com.qianhe.mapper.JygxBmjjMapper;
import com.qianhe.service.IJygxBmjjService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* 经验共享-组织领导Service业务层处理
*
* @author qianhe
* @date 2024-07-30
*/
@Service
public class JygxBmjjServiceImpl implements IJygxBmjjService
{
@Autowired
private JygxBmjjMapper jygxBmjjMapper;
/**
* 查询经验共享-组织领导
*
* @param id 经验共享-组织领导主键
* @return 经验共享-组织领导
*/
@Override
public JygxBmjj selectJygxBmjjById(Long id)
{
return jygxBmjjMapper.selectJygxBmjjById(id);
}
/**
* 查询经验共享-组织领导列表
*
* @param jygxBmjj 经验共享-组织领导
* @return 经验共享-组织领导
*/
@Override
public List<JygxBmjj> selectJygxBmjjList(JygxBmjj jygxBmjj)
{
return jygxBmjjMapper.selectJygxBmjjList(jygxBmjj);
}
/**
* 新增经验共享-组织领导
*
* @param jygxBmjj 经验共享-组织领导
* @return 结果
*/
@Override
public int insertJygxBmjj(JygxBmjj jygxBmjj)
{
jygxBmjj.setCreateTime(DateUtils.getNowDate());
return jygxBmjjMapper.insertJygxBmjj(jygxBmjj);
}
/**
* 修改经验共享-组织领导
*
* @param jygxBmjj 经验共享-组织领导
* @return 结果
*/
@Override
public int updateJygxBmjj(JygxBmjj jygxBmjj)
{
jygxBmjj.setUpdateTime(DateUtils.getNowDate());
return jygxBmjjMapper.updateJygxBmjj(jygxBmjj);
}
/**
* 批量删除经验共享-组织领导
*
* @param ids 需要删除的经验共享-组织领导主键
* @return 结果
*/
@Override
public int deleteJygxBmjjByIds(Long[] ids)
{
return jygxBmjjMapper.deleteJygxBmjjByIds(ids);
}
/**
* 删除经验共享-组织领导信息
*
* @param id 经验共享-组织领导主键
* @return 结果
*/
@Override
public int deleteJygxBmjjById(Long id)
{
return jygxBmjjMapper.deleteJygxBmjjById(id);
}
}
package com.qianhe.service.impl;
import java.util.List;
import com.qianhe.common.utils.DateUtils;
import com.qianhe.domain.JygxCljwh;
import com.qianhe.mapper.JygxCljwhMapper;
import com.qianhe.service.IJygxCljwhService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* 经验共享-超链接维护Service业务层处理
*
* @author qianhe
* @date 2024-07-30
*/
@Service
public class JygxCljwhServiceImpl implements IJygxCljwhService
{
@Autowired
private JygxCljwhMapper jygxCljwhMapper;
/**
* 查询经验共享-超链接维护
*
* @param cljid 经验共享-超链接维护主键
* @return 经验共享-超链接维护
*/
@Override
public JygxCljwh selectJygxCljwhByCljid(Long cljid)
{
return jygxCljwhMapper.selectJygxCljwhByCljid(cljid);
}
/**
* 查询经验共享-超链接维护列表
*
* @param jygxCljwh 经验共享-超链接维护
* @return 经验共享-超链接维护
*/
@Override
public List<JygxCljwh> selectJygxCljwhList(JygxCljwh jygxCljwh)
{
return jygxCljwhMapper.selectJygxCljwhList(jygxCljwh);
}
/**
* 新增经验共享-超链接维护
*
* @param jygxCljwh 经验共享-超链接维护
* @return 结果
*/
@Override
public int insertJygxCljwh(JygxCljwh jygxCljwh)
{
jygxCljwh.setCreateTime(DateUtils.getNowDate());
return jygxCljwhMapper.insertJygxCljwh(jygxCljwh);
}
/**
* 修改经验共享-超链接维护
*
* @param jygxCljwh 经验共享-超链接维护
* @return 结果
*/
@Override
public int updateJygxCljwh(JygxCljwh jygxCljwh)
{
jygxCljwh.setUpdateTime(DateUtils.getNowDate());
return jygxCljwhMapper.updateJygxCljwh(jygxCljwh);
}
/**
* 批量删除经验共享-超链接维护
*
* @param cljids 需要删除的经验共享-超链接维护主键
* @return 结果
*/
@Override
public int deleteJygxCljwhByCljids(Long[] cljids)
{
return jygxCljwhMapper.deleteJygxCljwhByCljids(cljids);
}
/**
* 删除经验共享-超链接维护信息
*
* @param cljid 经验共享-超链接维护主键
* @return 结果
*/
@Override
public int deleteJygxCljwhByCljid(Long cljid)
{
return jygxCljwhMapper.deleteJygxCljwhByCljid(cljid);
}
}
package com.qianhe.service.impl;
import java.util.List;
import com.qianhe.common.utils.DateUtils;
import com.qianhe.domain.JygxLxwh;
import com.qianhe.mapper.JygxLxwhMapper;
import com.qianhe.service.IJygxLxwhService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* 经验共享-类型维护Service业务层处理
*
* @author qianhe
* @date 2024-07-29
*/
@Service
public class JygxLxwhServiceImpl implements IJygxLxwhService
{
@Autowired
private JygxLxwhMapper jygxLxwhMapper;
/**
* 查询经验共享-类型维护
*
* @param lxid 经验共享-类型维护主键
* @return 经验共享-类型维护
*/
@Override
public JygxLxwh selectJygxLxwhByLxid(Long lxid)
{
return jygxLxwhMapper.selectJygxLxwhByLxid(lxid);
}
/**
* 查询经验共享-类型维护列表
*
* @param jygxLxwh 经验共享-类型维护
* @return 经验共享-类型维护
*/
@Override
public List<JygxLxwh> selectJygxLxwhList(JygxLxwh jygxLxwh)
{
return jygxLxwhMapper.selectJygxLxwhList(jygxLxwh);
}
/**
* 新增经验共享-类型维护
*
* @param jygxLxwh 经验共享-类型维护
* @return 结果
*/
@Override
public int insertJygxLxwh(JygxLxwh jygxLxwh)
{
jygxLxwh.setCreateTime(DateUtils.getNowDate());
return jygxLxwhMapper.insertJygxLxwh(jygxLxwh);
}
/**
* 修改经验共享-类型维护
*
* @param jygxLxwh 经验共享-类型维护
* @return 结果
*/
@Override
public int updateJygxLxwh(JygxLxwh jygxLxwh)
{
jygxLxwh.setUpdateTime(DateUtils.getNowDate());
return jygxLxwhMapper.updateJygxLxwh(jygxLxwh);
}
/**
* 批量删除经验共享-类型维护
*
* @param lxids 需要删除的经验共享-类型维护主键
* @return 结果
*/
@Override
public int deleteJygxLxwhByLxids(Long[] lxids)
{
return jygxLxwhMapper.deleteJygxLxwhByLxids(lxids);
}
/**
* 删除经验共享-类型维护信息
*
* @param lxid 经验共享-类型维护主键
* @return 结果
*/
@Override
public int deleteJygxLxwhByLxid(Long lxid)
{
return jygxLxwhMapper.deleteJygxLxwhByLxid(lxid);
}
}
package com.qianhe.service.impl;
import java.math.BigInteger;
import java.security.SecureRandom;
import java.util.List;
import com.qianhe.common.utils.DateUtils;
import com.qianhe.common.utils.SecurityUtils;
import com.qianhe.domain.JygxWzgl;
import com.qianhe.domain.JygxWzglfj;
import com.qianhe.mapper.JygxWzglMapper;
import com.qianhe.service.IJygxWzglService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* 经验共享-文章管理Service业务层处理
*
* @author qianhe
* @date 2024-07-29
*/
@Service
public class JygxWzglServiceImpl implements IJygxWzglService
{
@Autowired
private JygxWzglMapper jygxWzglMapper;
/**
* 查询经验共享-文章管理
*
* @param wzid 经验共享-文章管理主键
* @return 经验共享-文章管理
*/
@Override
public JygxWzgl selectJygxWzglByWzid(Long wzid)
{
JygxWzgl jygxWzgl = jygxWzglMapper.selectJygxWzglByWzid(wzid);
//查询文章管理附件集合
List<JygxWzglfj> jygxWzglfjs = jygxWzglMapper.selectFile(wzid);
if(jygxWzglfjs.size()>0){
jygxWzgl.setJygxWzglfjList(jygxWzglfjs);
}
return jygxWzgl;
}
/**
* 查询经验共享-文章管理列表
*
* @param jygxWzgl 经验共享-文章管理
* @return 经验共享-文章管理
*/
@Override
public List<JygxWzgl> selectJygxWzglList(JygxWzgl jygxWzgl)
{
return jygxWzglMapper.selectJygxWzglList(jygxWzgl);
}
/**
* 查询经验共享-首页轮播图新闻
*
* @param jygxWzgl
* @return
*/
@Override
public List<JygxWzgl> selectSylbxwList(JygxWzgl jygxWzgl)
{
return jygxWzglMapper.selectSylbxwList(jygxWzgl);
}
/**
* 新增经验共享-文章管理
*
* @param jygxWzgl 经验共享-文章管理
* @return 结果
*/
@Override
public int insertJygxWzgl(JygxWzgl jygxWzgl)
{
int TARGET_LENGTH = 20;
SecureRandom random = new SecureRandom();
BigInteger bigInt = new BigInteger(TARGET_LENGTH * 8, random);
long longValue = bigInt.longValue();
jygxWzgl.setWzid(longValue);
if (!jygxWzgl.getJygxWzglfjList().isEmpty()){
List<JygxWzglfj> sbmsList = jygxWzgl.getJygxWzglfjList();
insertFileList(jygxWzgl.getWzid(),sbmsList);
}
jygxWzgl.setCreateBy(SecurityUtils.getUsername());
jygxWzgl.setCreateTime(DateUtils.getNowDate());
return jygxWzglMapper.insertJygxWzgl(jygxWzgl);
}
/**
* 新增首页轮播新闻
*/
@Override
public int insertxw(JygxWzgl jygxWzgl)
{
int TARGET_LENGTH = 20;
SecureRandom random = new SecureRandom();
BigInteger bigInt = new BigInteger(TARGET_LENGTH * 8, random);
long longValue = bigInt.longValue();
jygxWzgl.setWzid(longValue);
if (!jygxWzgl.getJygxWzglfjList().isEmpty()){
List<JygxWzglfj> sbmsList = jygxWzgl.getJygxWzglfjList();
insertFileList(jygxWzgl.getWzid(),sbmsList);
}
jygxWzgl.setLxmc("syxw");
jygxWzgl.setCreateBy(SecurityUtils.getUsername());
jygxWzgl.setCreateTime(DateUtils.getNowDate());
return jygxWzglMapper.insertJygxWzgl(jygxWzgl);
}
/**
* 批量新增附件
* @param id
* @param list
*/
public void insertFileList(Long id, List<JygxWzglfj> list){
list.forEach(list1 -> {
list1.setWzid(id);
list1.setCreateBy(SecurityUtils.getUsername());
list1.setCreateTime(DateUtils.getNowDate());
});
jygxWzglMapper.insertFile(list);
}
/**
* 修改经验共享-文章管理
*
* @param jygxWzgl 经验共享-文章管理
* @return 结果
*/
@Override
public int updateJygxWzgl(JygxWzgl jygxWzgl)
{
if(!jygxWzgl.getJygxWzglfjList().isEmpty()){
//将之前上传附件删除,重新上传
jygxWzglMapper.deleteFileByBusinessId(jygxWzgl.getWzid());
List<JygxWzglfj> sbmsList = jygxWzgl.getJygxWzglfjList();
insertFileList(jygxWzgl.getWzid(), sbmsList);
}
jygxWzgl.setUpdateTime(DateUtils.getNowDate());
return jygxWzglMapper.updateJygxWzgl(jygxWzgl);
}
/**
* 批量删除经验共享-文章管理
*
* @param wzids 需要删除的经验共享-文章管理主键
* @return 结果
*/
@Override
public int deleteJygxWzglByWzids(Long[] wzids)
{
return jygxWzglMapper.deleteJygxWzglByWzids(wzids);
}
/**
* 删除经验共享-文章管理信息
*
* @param wzid 经验共享-文章管理主键
* @return 结果
*/
@Override
public int deleteJygxWzglByWzid(Long wzid)
{
//附件删除
jygxWzglMapper.deleteFileByBusinessId(wzid);
return jygxWzglMapper.deleteJygxWzglByWzid(wzid);
}
/**
*数据置顶
*/
@Override
public int updatewzzd(JygxWzgl jygxWzgl)
{
jygxWzglMapper.updatezd(jygxWzgl);
jygxWzgl.setPx((long) 0);
return jygxWzglMapper.updateJygxWzgl(jygxWzgl);
}
/**
*取消置顶
*/
@Override
public int updateqxzd(JygxWzgl jygxWzgl)
{
return jygxWzglMapper.updateqxzd(jygxWzgl);
}
}
package com.qianhe.service.impl;
import java.util.List;
import com.qianhe.common.utils.DateUtils;
import com.qianhe.domain.JygxYyxtwh;
import com.qianhe.mapper.JygxYyxtwhMapper;
import com.qianhe.service.IJygxYyxtwhService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
/**
* 经验共享-应用系统维护Service业务层处理
*
* @author qianhe
* @date 2024-07-29
*/
@Service
public class JygxYyxtwhServiceImpl implements IJygxYyxtwhService
{
@Autowired
private JygxYyxtwhMapper jygxYyxtwhMapper;
/**
* 查询经验共享-应用系统维护
*
* @param yyxtid 经验共享-应用系统维护主键
* @return 经验共享-应用系统维护
*/
@Override
public JygxYyxtwh selectJygxYyxtwhByYyxtid(Long yyxtid)
{
return jygxYyxtwhMapper.selectJygxYyxtwhByYyxtid(yyxtid);
}
/**
* 查询经验共享-应用系统维护列表
*
* @param jygxYyxtwh 经验共享-应用系统维护
* @return 经验共享-应用系统维护
*/
@Override
public List<JygxYyxtwh> selectJygxYyxtwhList(JygxYyxtwh jygxYyxtwh)
{
return jygxYyxtwhMapper.selectJygxYyxtwhList(jygxYyxtwh);
}
/**
* 新增经验共享-应用系统维护
*
* @param jygxYyxtwh 经验共享-应用系统维护
* @return 结果
*/
@Override
public int insertJygxYyxtwh(JygxYyxtwh jygxYyxtwh)
{
jygxYyxtwh.setCreateTime(DateUtils.getNowDate());
return jygxYyxtwhMapper.insertJygxYyxtwh(jygxYyxtwh);
}
/**
* 修改经验共享-应用系统维护
*
* @param jygxYyxtwh 经验共享-应用系统维护
* @return 结果
*/
@Override
public int updateJygxYyxtwh(JygxYyxtwh jygxYyxtwh)
{
jygxYyxtwh.setUpdateTime(DateUtils.getNowDate());
return jygxYyxtwhMapper.updateJygxYyxtwh(jygxYyxtwh);
}
/**
* 批量删除经验共享-应用系统维护
*
* @param yyxtids 需要删除的经验共享-应用系统维护主键
* @return 结果
*/
@Override
public int deleteJygxYyxtwhByYyxtids(Long[] yyxtids)
{
return jygxYyxtwhMapper.deleteJygxYyxtwhByYyxtids(yyxtids);
}
/**
* 删除经验共享-应用系统维护信息
*
* @param yyxtid 经验共享-应用系统维护主键
* @return 结果
*/
@Override
public int deleteJygxYyxtwhByYyxtid(Long yyxtid)
{
return jygxYyxtwhMapper.deleteJygxYyxtwhByYyxtid(yyxtid);
}
}
<?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.qianhe.mapper.JygxBmjjMapper">
<resultMap type="JygxBmjj" id="JygxBmjjResult">
<result property="id" column="id" />
<result property="bmjjwh" column="bmjjwh" />
<result property="zzld" column="zzld" />
<result property="sjglry" column="sjglry" />
<result property="yl1" column="yl1" />
<result property="yl2" column="yl2" />
<result property="yl3" column="yl3" />
<result property="yl4" column="yl4" />
<result property="yl5" column="yl5" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectJygxBmjjVo">
select id, bmjjwh, zzld, sjglry, yl1, yl2, yl3, yl4, yl5, create_by, create_time, update_by, update_time, remark from jygx_bmjj
</sql>
<select id="selectJygxBmjjList" parameterType="JygxBmjj" resultMap="JygxBmjjResult">
<include refid="selectJygxBmjjVo"/>
<where>
<if test="bmjjwh != null and bmjjwh != ''"> and bmjjwh = #{bmjjwh}</if>
<if test="zzld != null and zzld != ''"> and zzld = #{zzld}</if>
<if test="sjglry != null and sjglry != ''"> and sjglry = #{sjglry}</if>
<if test="yl1 != null and yl1 != ''"> and yl1 = #{yl1}</if>
<if test="yl2 != null and yl2 != ''"> and yl2 = #{yl2}</if>
<if test="yl3 != null and yl3 != ''"> and yl3 = #{yl3}</if>
<if test="yl4 != null and yl4 != ''"> and yl4 = #{yl4}</if>
<if test="yl5 != null and yl5 != ''"> and yl5 = #{yl5}</if>
</where>
</select>
<select id="selectJygxBmjjById" parameterType="Long" resultMap="JygxBmjjResult">
<include refid="selectJygxBmjjVo"/>
where id = #{id}
</select>
<insert id="insertJygxBmjj" parameterType="JygxBmjj" useGeneratedKeys="true" keyProperty="id">
insert into jygx_bmjj
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="bmjjwh != null">bmjjwh,</if>
<if test="zzld != null">zzld,</if>
<if test="sjglry != null">sjglry,</if>
<if test="yl1 != null">yl1,</if>
<if test="yl2 != null">yl2,</if>
<if test="yl3 != null">yl3,</if>
<if test="yl4 != null">yl4,</if>
<if test="yl5 != null">yl5,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="bmjjwh != null">#{bmjjwh},</if>
<if test="zzld != null">#{zzld},</if>
<if test="sjglry != null">#{sjglry},</if>
<if test="yl1 != null">#{yl1},</if>
<if test="yl2 != null">#{yl2},</if>
<if test="yl3 != null">#{yl3},</if>
<if test="yl4 != null">#{yl4},</if>
<if test="yl5 != null">#{yl5},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateJygxBmjj" parameterType="JygxBmjj">
update jygx_bmjj
<trim prefix="SET" suffixOverrides=",">
<if test="bmjjwh != null">bmjjwh = #{bmjjwh},</if>
<if test="zzld != null">zzld = #{zzld},</if>
<if test="sjglry != null">sjglry = #{sjglry},</if>
<if test="yl1 != null">yl1 = #{yl1},</if>
<if test="yl2 != null">yl2 = #{yl2},</if>
<if test="yl3 != null">yl3 = #{yl3},</if>
<if test="yl4 != null">yl4 = #{yl4},</if>
<if test="yl5 != null">yl5 = #{yl5},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where id = #{id}
</update>
<delete id="deleteJygxBmjjById" parameterType="Long">
delete from jygx_bmjj where id = #{id}
</delete>
<delete id="deleteJygxBmjjByIds" parameterType="String">
delete from jygx_bmjj where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}
</foreach>
</delete>
</mapper>
<?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.qianhe.mapper.JygxCljwhMapper">
<resultMap type="JygxCljwh" id="JygxCljwhResult">
<result property="cljid" column="cljid" />
<result property="px" column="px" />
<result property="mcbt" column="mcbt" />
<result property="lj" column="lj" />
<result property="yl1" column="yl1" />
<result property="yl2" column="yl2" />
<result property="yl3" column="yl3" />
<result property="yl4" column="yl4" />
<result property="yl5" column="yl5" />
<result property="tzfs" column="tzfs" />
<result property="fbzt" column="fbzt" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
</resultMap>
<sql id="selectJygxCljwhVo">
select cljid, px, mcbt, lj, yl1, yl2, yl3, yl4, yl5, tzfs, fbzt, create_by, create_time, update_by, update_time, remark from jygx_cljwh
</sql>
<select id="selectJygxCljwhList" parameterType="JygxCljwh" resultMap="JygxCljwhResult">
<include refid="selectJygxCljwhVo"/>
<where>
<if test="px != null "> and px = #{px}</if>
<if test="mcbt != null and mcbt != ''"> and mcbt = #{mcbt}</if>
<if test="lj != null and lj != ''"> and lj = #{lj}</if>
<if test="yl1 != null and yl1 != ''"> and yl1 = #{yl1}</if>
<if test="yl2 != null and yl2 != ''"> and yl2 = #{yl2}</if>
<if test="yl3 != null and yl3 != ''"> and yl3 = #{yl3}</if>
<if test="yl4 != null and yl4 != ''"> and yl4 = #{yl4}</if>
<if test="yl5 != null and yl5 != ''"> and yl5 = #{yl5}</if>
<if test="tzfs != null and tzfs != ''"> and tzfs = #{tzfs}</if>
<if test="fbzt != null and fbzt != ''"> and fbzt = #{fbzt}</if>
</where>
</select>
<select id="selectJygxCljwhByCljid" parameterType="Long" resultMap="JygxCljwhResult">
<include refid="selectJygxCljwhVo"/>
where cljid = #{cljid}
</select>
<insert id="insertJygxCljwh" parameterType="JygxCljwh" useGeneratedKeys="true" keyProperty="cljid">
insert into jygx_cljwh
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="px != null">px,</if>
<if test="mcbt != null">mcbt,</if>
<if test="lj != null">lj,</if>
<if test="yl1 != null">yl1,</if>
<if test="yl2 != null">yl2,</if>
<if test="yl3 != null">yl3,</if>
<if test="yl4 != null">yl4,</if>
<if test="yl5 != null">yl5,</if>
<if test="tzfs != null">tzfs,</if>
<if test="fbzt != null">fbzt,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="px != null">#{px},</if>
<if test="mcbt != null">#{mcbt},</if>
<if test="lj != null">#{lj},</if>
<if test="yl1 != null">#{yl1},</if>
<if test="yl2 != null">#{yl2},</if>
<if test="yl3 != null">#{yl3},</if>
<if test="yl4 != null">#{yl4},</if>
<if test="yl5 != null">#{yl5},</if>
<if test="tzfs != null">#{tzfs},</if>
<if test="fbzt != null">#{fbzt},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
</trim>
</insert>
<update id="updateJygxCljwh" parameterType="JygxCljwh">
update jygx_cljwh
<trim prefix="SET" suffixOverrides=",">
<if test="px != null">px = #{px},</if>
<if test="mcbt != null">mcbt = #{mcbt},</if>
<if test="lj != null">lj = #{lj},</if>
<if test="yl1 != null">yl1 = #{yl1},</if>
<if test="yl2 != null">yl2 = #{yl2},</if>
<if test="yl3 != null">yl3 = #{yl3},</if>
<if test="yl4 != null">yl4 = #{yl4},</if>
<if test="yl5 != null">yl5 = #{yl5},</if>
<if test="tzfs != null">tzfs = #{tzfs},</if>
<if test="fbzt != null">fbzt = #{fbzt},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
</trim>
where cljid = #{cljid}
</update>
<delete id="deleteJygxCljwhByCljid" parameterType="Long">
delete from jygx_cljwh where cljid = #{cljid}
</delete>
<delete id="deleteJygxCljwhByCljids" parameterType="String">
delete from jygx_cljwh where cljid in
<foreach item="cljid" collection="array" open="(" separator="," close=")">
#{cljid}
</foreach>
</delete>
</mapper>
<?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.qianhe.mapper.JygxLxwhMapper">
<resultMap type="JygxLxwh" id="JygxLxwhResult">
<result property="lxid" column="lxid" />
<result property="lxmc" column="lxmc" />
<result property="mkmc" column="mkmc" />
<result property="yl1" column="yl1" />
<result property="yl2" column="yl2" />
<result property="yl3" column="yl3" />
<result property="yl4" column="yl4" />
<result property="yl5" column="yl5" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="delFlag" column="del_flag" />
</resultMap>
<sql id="selectJygxLxwhVo">
select lxid, lxmc, mkmc, yl1, yl2, yl3, yl4, yl5, create_by, create_time, update_by, update_time, remark, del_flag from jygx_lxwh
</sql>
<select id="selectJygxLxwhList" parameterType="JygxLxwh" resultMap="JygxLxwhResult">
<include refid="selectJygxLxwhVo"/>
<where>
<if test="lxmc != null and lxmc != ''"> and lxmc = #{lxmc}</if>
<if test="mkmc != null and mkmc != ''"> and mkmc = #{mkmc}</if>
<if test="yl1 != null and yl1 != ''"> and yl1 = #{yl1}</if>
<if test="yl2 != null and yl2 != ''"> and yl2 = #{yl2}</if>
<if test="yl3 != null and yl3 != ''"> and yl3 = #{yl3}</if>
<if test="yl4 != null and yl4 != ''"> and yl4 = #{yl4}</if>
<if test="yl5 != null and yl5 != ''"> and yl5 = #{yl5}</if>
</where>
</select>
<select id="selectJygxLxwhByLxid" parameterType="Long" resultMap="JygxLxwhResult">
<include refid="selectJygxLxwhVo"/>
where lxid = #{lxid}
</select>
<insert id="insertJygxLxwh" parameterType="JygxLxwh" useGeneratedKeys="true" keyProperty="lxid">
insert into jygx_lxwh
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="lxmc != null">lxmc,</if>
<if test="mkmc != null">mkmc,</if>
<if test="yl1 != null">yl1,</if>
<if test="yl2 != null">yl2,</if>
<if test="yl3 != null">yl3,</if>
<if test="yl4 != null">yl4,</if>
<if test="yl5 != null">yl5,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="delFlag != null">del_flag,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="lxmc != null">#{lxmc},</if>
<if test="mkmc != null">#{mkmc},</if>
<if test="yl1 != null">#{yl1},</if>
<if test="yl2 != null">#{yl2},</if>
<if test="yl3 != null">#{yl3},</if>
<if test="yl4 != null">#{yl4},</if>
<if test="yl5 != null">#{yl5},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="delFlag != null">#{delFlag},</if>
</trim>
</insert>
<update id="updateJygxLxwh" parameterType="JygxLxwh">
update jygx_lxwh
<trim prefix="SET" suffixOverrides=",">
<if test="lxmc != null">lxmc = #{lxmc},</if>
<if test="mkmc != null">mkmc = #{mkmc},</if>
<if test="yl1 != null">yl1 = #{yl1},</if>
<if test="yl2 != null">yl2 = #{yl2},</if>
<if test="yl3 != null">yl3 = #{yl3},</if>
<if test="yl4 != null">yl4 = #{yl4},</if>
<if test="yl5 != null">yl5 = #{yl5},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="delFlag != null">del_flag = #{delFlag},</if>
</trim>
where lxid = #{lxid}
</update>
<delete id="deleteJygxLxwhByLxid" parameterType="Long">
delete from jygx_lxwh where lxid = #{lxid}
</delete>
<delete id="deleteJygxLxwhByLxids" parameterType="String">
delete from jygx_lxwh where lxid in
<foreach item="lxid" collection="array" open="(" separator="," close=")">
#{lxid}
</foreach>
</delete>
</mapper>
<?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.qianhe.mapper.JygxWzglMapper">
<resultMap type="JygxWzgl" id="JygxWzglResult">
<result property="wzid" column="wzid" />
<result property="px" column="px" />
<result property="xxly" column="xxly" />
<result property="lxid" column="lxid" />
<result property="lxmc" column="lxmc" />
<result property="wznr" column="wznr" />
<result property="wzbt" column="wzbt" />
<result property="shzt" column="shzt" />
<result property="fjmc" column="fjmc" />
<result property="fjdz" column="fjdz" />
<result property="fjlx" column="fjlx" />
<result property="wzzz" column="wzzz" />
<result property="wzsj" column="wzsj" />
<result property="yl1" column="yl1" />
<result property="yl2" column="yl2" />
<result property="yl3" column="yl3" />
<result property="yl4" column="yl4" />
<result property="yl5" column="yl5" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="ydsl" column="ydsl" />
</resultMap>
<sql id="selectJygxWzglVo">
select wzid, px, xxly, lxid, lxmc, wznr, wzbt, shzt, fjmc, fjdz, fjlx, wzzz, wzsj, yl1, yl2, yl3, yl4, yl5, create_by, create_time, update_by, update_time, remark, ydsl from jygx_wzgl
</sql>
<select id="selectJygxWzglList" parameterType="JygxWzgl" resultMap="JygxWzglResult">
<include refid="selectJygxWzglVo"/>
<where>
<if test="px != null "> and px = #{px}</if>
<if test="xxly != null and xxly != ''"> and xxly = #{xxly}</if>
<if test="lxmc != null and lxmc != ''"> and lxmc = #{lxmc}</if>
<if test="wznr != null and wznr != ''"> and wznr = #{wznr}</if>
<if test="wzbt != null and wzbt != ''"> and wzbt = #{wzbt}</if>
<if test="shzt != null and shzt != ''"> and shzt = #{shzt}</if>
<if test="fjmc != null and fjmc != ''"> and fjmc = #{fjmc}</if>
<if test="fjdz != null and fjdz != ''"> and fjdz = #{fjdz}</if>
<if test="fjlx != null and fjlx != ''"> and fjlx = #{fjlx}</if>
<if test="wzzz != null and wzzz != ''"> and wzzz = #{wzzz}</if>
<if test="wzsj != null "> and wzsj = #{wzsj}</if>
<if test="yl1 != null and yl1 != ''"> and yl1 = #{yl1}</if>
<if test="yl2 != null and yl2 != ''"> and yl2 = #{yl2}</if>
<if test="yl3 != null and yl3 != ''"> and yl3 = #{yl3}</if>
<if test="yl4 != null and yl4 != ''"> and yl4 = #{yl4}</if>
<if test="yl5 != null and yl5 != ''"> and yl5 = #{yl5}</if>
<if test="ydsl != null "> and ydsl = #{ydsl}</if>
and lxmc != "syxw"
</where>
ORDER BY ifnull (px,999999), wzsj desc
</select>
<select id="selectSylbxwList" parameterType="JygxWzgl" resultMap="JygxWzglResult">
<include refid="selectJygxWzglVo"/>
<where>
<if test="px != null "> and px = #{px}</if>
<if test="xxly != null and xxly != ''"> and xxly = #{xxly}</if>
<if test="wznr != null and wznr != ''"> and wznr = #{wznr}</if>
<if test="wzbt != null and wzbt != ''"> and wzbt = #{wzbt}</if>
<if test="shzt != null and shzt != ''"> and shzt = #{shzt}</if>
<if test="fjmc != null and fjmc != ''"> and fjmc = #{fjmc}</if>
<if test="fjdz != null and fjdz != ''"> and fjdz = #{fjdz}</if>
<if test="fjlx != null and fjlx != ''"> and fjlx = #{fjlx}</if>
<if test="wzzz != null and wzzz != ''"> and wzzz = #{wzzz}</if>
<if test="wzsj != null "> and wzsj = #{wzsj}</if>
<if test="yl1 != null and yl1 != ''"> and yl1 = #{yl1}</if>
<if test="yl2 != null and yl2 != ''"> and yl2 = #{yl2}</if>
<if test="yl3 != null and yl3 != ''"> and yl3 = #{yl3}</if>
<if test="yl4 != null and yl4 != ''"> and yl4 = #{yl4}</if>
<if test="yl5 != null and yl5 != ''"> and yl5 = #{yl5}</if>
<if test="ydsl != null "> and ydsl = #{ydsl}</if>
and lxmc = "syxw"
</where>
ORDER BY ifnull (px,999999), wzsj desc
</select>
<select id="selectJygxWzglByWzid" parameterType="Long" resultMap="JygxWzglResult">
<include refid="selectJygxWzglVo"/>
where wzid = #{wzid}
</select>
<insert id="insertJygxWzgl" parameterType="JygxWzgl" useGeneratedKeys="true" >
insert into jygx_wzgl
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="wzid != null">wzid,</if>
<if test="px != null">px,</if>
<if test="xxly != null">xxly,</if>
<if test="lxid != null">lxid,</if>
<if test="lxmc != null">lxmc,</if>
<if test="wznr != null">wznr,</if>
<if test="wzbt != null">wzbt,</if>
<if test="shzt != null">shzt,</if>
<if test="fjmc != null">fjmc,</if>
<if test="fjdz != null">fjdz,</if>
<if test="fjlx != null">fjlx,</if>
<if test="wzzz != null">wzzz,</if>
<if test="wzsj != null">wzsj,</if>
<if test="yl1 != null">yl1,</if>
<if test="yl2 != null">yl2,</if>
<if test="yl3 != null">yl3,</if>
<if test="yl4 != null">yl4,</if>
<if test="yl5 != null">yl5,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="ydsl != null">ydsl,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="wzid != null">#{wzid},</if>
<if test="px != null">#{px},</if>
<if test="xxly != null">#{xxly},</if>
<if test="lxid != null">#{lxid},</if>
<if test="lxmc != null">#{lxmc},</if>
<if test="wznr != null">#{wznr},</if>
<if test="wzbt != null">#{wzbt},</if>
<if test="shzt != null">#{shzt},</if>
<if test="fjmc != null">#{fjmc},</if>
<if test="fjdz != null">#{fjdz},</if>
<if test="fjlx != null">#{fjlx},</if>
<if test="wzzz != null">#{wzzz},</if>
<if test="wzsj != null">#{wzsj},</if>
<if test="yl1 != null">#{yl1},</if>
<if test="yl2 != null">#{yl2},</if>
<if test="yl3 != null">#{yl3},</if>
<if test="yl4 != null">#{yl4},</if>
<if test="yl5 != null">#{yl5},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="ydsl != null">#{ydsl},</if>
</trim>
</insert>
<update id="updateJygxWzgl" parameterType="JygxWzgl">
update jygx_wzgl
<trim prefix="SET" suffixOverrides=",">
<if test="px != null">px = #{px},</if>
<if test="xxly != null">xxly = #{xxly},</if>
<if test="lxid != null">lxid = #{lxid},</if>
<if test="lxmc != null">lxmc = #{lxmc},</if>
<if test="wznr != null">wznr = #{wznr},</if>
<if test="wzbt != null">wzbt = #{wzbt},</if>
<if test="shzt != null">shzt = #{shzt},</if>
<if test="fjmc != null">fjmc = #{fjmc},</if>
<if test="fjdz != null">fjdz = #{fjdz},</if>
<if test="fjlx != null">fjlx = #{fjlx},</if>
<if test="wzzz != null">wzzz = #{wzzz},</if>
<if test="wzsj != null">wzsj = #{wzsj},</if>
<if test="yl1 != null">yl1 = #{yl1},</if>
<if test="yl2 != null">yl2 = #{yl2},</if>
<if test="yl3 != null">yl3 = #{yl3},</if>
<if test="yl4 != null">yl4 = #{yl4},</if>
<if test="yl5 != null">yl5 = #{yl5},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="ydsl != null">ydsl = #{ydsl},</if>
</trim>
where wzid = #{wzid}
</update>
<update id="updateqxzd" parameterType="JygxWzgl">
update jygx_wzgl
set px = NULL
where wzid = #{wzid}
</update>
<update id="updatezd" parameterType="JygxWzgl">
UPDATE jygx_wzgl
SET px = px + 1
WHERE lxmc = #{lxmc} and px is not null
</update>
<delete id="deleteJygxWzglByWzid" parameterType="Long">
delete from jygx_wzgl where wzid = #{wzid}
</delete>
<delete id="deleteJygxWzglByWzids" parameterType="String">
delete from jygx_wzgl where wzid in
<foreach item="wzid" collection="array" open="(" separator="," close=")">
#{wzid}
</foreach>
</delete>
<select id="selectFile" resultType="com.qianhe.domain.JygxWzglfj">
select *
from jygx_wzglfj where wzid = #{wzid}
</select>
<insert id="insertFile" parameterType="com.qianhe.domain.JygxWzglfj">
insert into jygx_wzglfj(fjid, wzid, file_name, accessory_url, accessory_type, create_by, create_time) values
<foreach item="item" index="index" collection="list" separator=",">
(0,#{item.wzid}, #{item.fileName}, #{item.accessoryUrl}, #{item.accessoryType}, #{item.createBy}, #{item.createTime})
</foreach>
</insert>
<delete id="deleteFileByBusinessId">
delete from jygx_wzglfj where wzid = #{wzid}
</delete>
</mapper>
<?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.qianhe.mapper.JygxYyxtwhMapper">
<resultMap type="JygxYyxtwh" id="JygxYyxtwhResult">
<result property="yyxtid" column="yyxtid" />
<result property="px" column="px" />
<result property="yyxtmc" column="yyxtmc" />
<result property="ljdz" column="ljdz" />
<result property="tbdz" column="tbdz" />
<result property="tzfs" column="tzfs" />
<result property="yl1" column="yl1" />
<result property="yl2" column="yl2" />
<result property="yl3" column="yl3" />
<result property="yl4" column="yl4" />
<result property="yl5" column="yl5" />
<result property="createBy" column="create_by" />
<result property="createTime" column="create_time" />
<result property="updateBy" column="update_by" />
<result property="updateTime" column="update_time" />
<result property="remark" column="remark" />
<result property="fbzt" column="fbzt" />
</resultMap>
<sql id="selectJygxYyxtwhVo">
select yyxtid, px, yyxtmc, ljdz, tbdz, tzfs, yl1, yl2, yl3, yl4, yl5, create_by, create_time, update_by, update_time, remark, fbzt from jygx_yyxtwh
</sql>
<select id="selectJygxYyxtwhList" parameterType="JygxYyxtwh" resultMap="JygxYyxtwhResult">
<include refid="selectJygxYyxtwhVo"/>
<where>
<if test="px != null "> and px = #{px}</if>
<if test="yyxtmc != null and yyxtmc != ''"> and yyxtmc = #{yyxtmc}</if>
<if test="ljdz != null and ljdz != ''"> and ljdz = #{ljdz}</if>
<if test="tbdz != null and tbdz != ''"> and tbdz = #{tbdz}</if>
<if test="tzfs != null and tzfs != ''"> and tzfs = #{tzfs}</if>
<if test="yl1 != null and yl1 != ''"> and yl1 = #{yl1}</if>
<if test="yl2 != null and yl2 != ''"> and yl2 = #{yl2}</if>
<if test="yl3 != null and yl3 != ''"> and yl3 = #{yl3}</if>
<if test="yl4 != null and yl4 != ''"> and yl4 = #{yl4}</if>
<if test="yl5 != null and yl5 != ''"> and yl5 = #{yl5}</if>
<if test="fbzt != null and fbzt != ''"> and fbzt = #{fbzt}</if>
</where>
</select>
<select id="selectJygxYyxtwhByYyxtid" parameterType="Long" resultMap="JygxYyxtwhResult">
<include refid="selectJygxYyxtwhVo"/>
where yyxtid = #{yyxtid}
</select>
<insert id="insertJygxYyxtwh" parameterType="JygxYyxtwh" useGeneratedKeys="true" keyProperty="yyxtid">
insert into jygx_yyxtwh
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="px != null">px,</if>
<if test="yyxtmc != null">yyxtmc,</if>
<if test="ljdz != null">ljdz,</if>
<if test="tbdz != null">tbdz,</if>
<if test="tzfs != null">tzfs,</if>
<if test="yl1 != null">yl1,</if>
<if test="yl2 != null">yl2,</if>
<if test="yl3 != null">yl3,</if>
<if test="yl4 != null">yl4,</if>
<if test="yl5 != null">yl5,</if>
<if test="createBy != null">create_by,</if>
<if test="createTime != null">create_time,</if>
<if test="updateBy != null">update_by,</if>
<if test="updateTime != null">update_time,</if>
<if test="remark != null">remark,</if>
<if test="fbzt != null">fbzt,</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="px != null">#{px},</if>
<if test="yyxtmc != null">#{yyxtmc},</if>
<if test="ljdz != null">#{ljdz},</if>
<if test="tbdz != null">#{tbdz},</if>
<if test="tzfs != null">#{tzfs},</if>
<if test="yl1 != null">#{yl1},</if>
<if test="yl2 != null">#{yl2},</if>
<if test="yl3 != null">#{yl3},</if>
<if test="yl4 != null">#{yl4},</if>
<if test="yl5 != null">#{yl5},</if>
<if test="createBy != null">#{createBy},</if>
<if test="createTime != null">#{createTime},</if>
<if test="updateBy != null">#{updateBy},</if>
<if test="updateTime != null">#{updateTime},</if>
<if test="remark != null">#{remark},</if>
<if test="fbzt != null">#{fbzt},</if>
</trim>
</insert>
<update id="updateJygxYyxtwh" parameterType="JygxYyxtwh">
update jygx_yyxtwh
<trim prefix="SET" suffixOverrides=",">
<if test="px != null">px = #{px},</if>
<if test="yyxtmc != null">yyxtmc = #{yyxtmc},</if>
<if test="ljdz != null">ljdz = #{ljdz},</if>
<if test="tbdz != null">tbdz = #{tbdz},</if>
<if test="tzfs != null">tzfs = #{tzfs},</if>
<if test="yl1 != null">yl1 = #{yl1},</if>
<if test="yl2 != null">yl2 = #{yl2},</if>
<if test="yl3 != null">yl3 = #{yl3},</if>
<if test="yl4 != null">yl4 = #{yl4},</if>
<if test="yl5 != null">yl5 = #{yl5},</if>
<if test="createBy != null">create_by = #{createBy},</if>
<if test="createTime != null">create_time = #{createTime},</if>
<if test="updateBy != null">update_by = #{updateBy},</if>
<if test="updateTime != null">update_time = #{updateTime},</if>
<if test="remark != null">remark = #{remark},</if>
<if test="fbzt != null">fbzt = #{fbzt},</if>
</trim>
where yyxtid = #{yyxtid}
</update>
<delete id="deleteJygxYyxtwhByYyxtid" parameterType="Long">
delete from jygx_yyxtwh where yyxtid = #{yyxtid}
</delete>
<delete id="deleteJygxYyxtwhByYyxtids" parameterType="String">
delete from jygx_yyxtwh where yyxtid in
<foreach item="yyxtid" collection="array" open="(" separator="," close=")">
#{yyxtid}
</foreach>
</delete>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment