Browse Source

Merge remote-tracking branch 'origin/master'

dev_kxc
xzt 1 year ago
parent
commit
3a55180340
  1. 115
      jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiGckzfdbController.java
  2. 115
      jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiGzbzjController.java
  3. 98
      jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiGckzfdb.java
  4. 92
      jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiGzbzj.java
  5. 15
      jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiGckzfdbMapper.java
  6. 17
      jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiGzbzjMapper.java
  7. 18
      jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiGckzfdbService.java
  8. 18
      jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiGzbzjService.java
  9. 6
      jwtech-system/src/main/java/com/kms/earlyStage/domain/BsSlgcQqjdTbbzj.java

115
jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiGckzfdbController.java

@ -0,0 +1,115 @@
package com.kms.build.controller;
import java.util.Arrays;
import java.util.List;
import com.jianwei.common.core.controller.BaseController;
import com.jianwei.common.core.domain.SearchParam;
import com.jianwei.common.utils.poi.ExcelUtil;
import com.kms.build.domain.BsSgcJsjdBuiGckzfdb;
import com.kms.build.service.BsSgcJsjdBuiGckzfdbService;
import com.kms.common.utils.BaseEntityUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
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.baomidou.mybatisplus.core.metadata.IPage;
import com.jianwei.common.mybaitsplus.BeanToWrapper;
import com.jianwei.common.annotation.Log;
import com.jianwei.common.core.domain.AjaxResult;
import com.jianwei.common.enums.BusinessType;
/**
* 请填写功能名称Controller
*
* @author kms
* @date 2024-04-22
*/
@RestController
@RequestMapping("/system/gckzfdb")
@Api(tags = "【请填写功能名称】")
public class BsSgcJsjdBuiGckzfdbController extends BaseController
{
@Autowired
private BsSgcJsjdBuiGckzfdbService bsSgcJsjdBuiGckzfdbService;
/**
* 查询请填写功能名称列表
*/
@PostMapping("/list")
@ApiOperation("【请填写功能名称】列表")
public IPage list(@RequestBody SearchParam<BsSgcJsjdBuiGckzfdb> sp)
{
return bsSgcJsjdBuiGckzfdbService.selectPage(sp);
}
/**
* 导出请填写功能名称列表
*/
@Log(title = "【请填写功能名称】导出", businessType = BusinessType.EXPORT)
@PostMapping("/export")
@ApiOperation("【请填写功能名称】导出")
public AjaxResult export(@RequestBody BsSgcJsjdBuiGckzfdb bsSgcJsjdBuiGckzfdb)
{
List<BsSgcJsjdBuiGckzfdb> list = bsSgcJsjdBuiGckzfdbService.listByIds(bsSgcJsjdBuiGckzfdb.getIds());
ExcelUtil<BsSgcJsjdBuiGckzfdb> util = new ExcelUtil<>(BsSgcJsjdBuiGckzfdb.class);
return util.exportExcel(list, "gckzfdb");
}
/**
* 获取请填写功能名称详细信息
*/
@ApiOperation(" 【请填写功能名称】详情")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
return AjaxResult.success(bsSgcJsjdBuiGckzfdbService.getById(id));
}
/**
* 新增请填写功能名称
*/
@Log(title = "【请填写功能名称】新增", businessType = BusinessType.INSERT)
@PostMapping
@ApiOperation("【请填写功能名称】新增")
public AjaxResult add(@RequestBody BsSgcJsjdBuiGckzfdb bsSgcJsjdBuiGckzfdb)
{
BaseEntityUtils.preInsert(bsSgcJsjdBuiGckzfdb);
return toAjax(bsSgcJsjdBuiGckzfdbService.save(bsSgcJsjdBuiGckzfdb));
}
/**
* 修改请填写功能名称
*/
@ApiOperation("【请填写功能名称】修改")
@Log(title = "【请填写功能名称】修改", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BsSgcJsjdBuiGckzfdb bsSgcJsjdBuiGckzfdb)
{
return toAjax(bsSgcJsjdBuiGckzfdbService.updateById(bsSgcJsjdBuiGckzfdb));
}
/**
* 删除请填写功能名称
*/
@ApiOperation("【请填写功能名称】删除")
@Log(title = "【请填写功能名称】删除", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)
{
return toAjax(bsSgcJsjdBuiGckzfdbService.removeByIds(Arrays.asList(ids)));
}
}

115
jwtech-system/src/main/java/com/kms/build/controller/BsSgcJsjdBuiGzbzjController.java

@ -0,0 +1,115 @@
package com.kms.build.controller;
import java.util.Arrays;
import java.util.List;
import com.jianwei.common.core.controller.BaseController;
import com.jianwei.common.core.domain.SearchParam;
import com.jianwei.common.utils.poi.ExcelUtil;
import com.kms.build.domain.BsSgcJsjdBuiGzbzj;
import com.kms.build.service.BsSgcJsjdBuiGzbzjService;
import com.kms.common.utils.BaseEntityUtils;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
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.baomidou.mybatisplus.core.metadata.IPage;
import com.jianwei.common.mybaitsplus.BeanToWrapper;
import com.jianwei.common.annotation.Log;
import com.jianwei.common.core.domain.AjaxResult;
import com.jianwei.common.enums.BusinessType;
/**
* 工资保证金Controller
*
* @author kms
* @date 2024-04-22
*/
@RestController
@RequestMapping("/system/gzbzj")
@Api(tags = "工资保证金")
public class BsSgcJsjdBuiGzbzjController extends BaseController
{
@Autowired
private BsSgcJsjdBuiGzbzjService bsSgcJsjdBuiGzbzjService;
/**
* 查询工资保证金列表
*/
@PostMapping("/list")
@ApiOperation("工资保证金列表")
public IPage list(@RequestBody SearchParam<BsSgcJsjdBuiGzbzj> sp)
{
return bsSgcJsjdBuiGzbzjService.selectPage(sp);
}
/**
* 导出工资保证金列表
*/
@Log(title = "工资保证金导出", businessType = BusinessType.EXPORT)
@PostMapping("/export")
@ApiOperation("工资保证金导出")
public AjaxResult export(@RequestBody BsSgcJsjdBuiGzbzj bsSgcJsjdBuiGzbzj)
{
List<BsSgcJsjdBuiGzbzj> list = bsSgcJsjdBuiGzbzjService.listByIds(bsSgcJsjdBuiGzbzj.getIds());
ExcelUtil<BsSgcJsjdBuiGzbzj> util = new ExcelUtil<>(BsSgcJsjdBuiGzbzj.class);
return util.exportExcel(list, "gzbzj");
}
/**
* 获取工资保证金详细信息
*/
@ApiOperation(" 工资保证金详情")
@GetMapping(value = "/{id}")
public AjaxResult getInfo(@PathVariable("id") String id)
{
return AjaxResult.success(bsSgcJsjdBuiGzbzjService.getById(id));
}
/**
* 新增工资保证金
*/
@Log(title = "工资保证金新增", businessType = BusinessType.INSERT)
@PostMapping
@ApiOperation("工资保证金新增")
public AjaxResult add(@RequestBody BsSgcJsjdBuiGzbzj bsSgcJsjdBuiGzbzj)
{
BaseEntityUtils.preInsert(bsSgcJsjdBuiGzbzj);
return toAjax(bsSgcJsjdBuiGzbzjService.save(bsSgcJsjdBuiGzbzj));
}
/**
* 修改工资保证金
*/
@ApiOperation("工资保证金修改")
@Log(title = "工资保证金修改", businessType = BusinessType.UPDATE)
@PutMapping
public AjaxResult edit(@RequestBody BsSgcJsjdBuiGzbzj bsSgcJsjdBuiGzbzj)
{
return toAjax(bsSgcJsjdBuiGzbzjService.updateById(bsSgcJsjdBuiGzbzj));
}
/**
* 删除工资保证金
*/
@ApiOperation("工资保证金删除")
@Log(title = "工资保证金删除", businessType = BusinessType.DELETE)
@DeleteMapping("/{ids}")
public AjaxResult remove(@PathVariable String[] ids)
{
return toAjax(bsSgcJsjdBuiGzbzjService.removeByIds(Arrays.asList(ids)));
}
}

98
jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiGckzfdb.java

@ -0,0 +1,98 @@
package com.kms.build.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianwei.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jianwei.common.core.domain.BaseEntity;
/**
* 请填写功能名称对象 bs_sgc_jsjd_bui_gckzfdb
*
* @author kms
* @date 2024-04-22
*/
@TableName("bs_sgc_jsjd_bui_gckzfdb")
@Data
@ApiModel("【请填写功能名称】")
public class BsSgcJsjdBuiGckzfdb extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 更新人 */
@Excel(name = "更新人")
@ApiModelProperty("更新人")
private String updateUid;
/** 创建人 */
@Excel(name = "创建人")
@ApiModelProperty("创建人")
private String createUid;
/** 项目编号 */
@Excel(name = "项目编号")
@ApiModelProperty("项目编号")
private String proNo;
/** 项目编码 */
@Excel(name = "项目编码")
@ApiModelProperty("项目编码")
private String projectCode;
/** 单位名称 */
@Excel(name = "单位名称")
@ApiModelProperty("单位名称")
private String enterpriseName;
/** 社会信用社代码 */
@Excel(name = "社会信用社代码")
@ApiModelProperty("社会信用社代码")
private String socialCreditCode;
/** 担保开始日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "担保开始日期", width = 30, dateFormat = "yyyy-MM-dd")
@ApiModelProperty("担保开始日期")
private Date guaranteeStartTime;
/** 担保结束日期 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "担保结束日期", width = 30, dateFormat = "yyyy-MM-dd")
@ApiModelProperty("担保结束日期")
private Date guaranteeEndTime;
/** 是否提供 */
@Excel(name = "是否提供")
@ApiModelProperty("是否提供")
private String isProvide;
/** 提供时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "提供时间", width = 30, dateFormat = "yyyy-MM-dd")
@ApiModelProperty("提供时间")
private Date provideTime;
/** 提供额度 */
@Excel(name = "提供额度")
@ApiModelProperty("提供额度")
private String provideQuota;
/** 提供方式 */
@Excel(name = "提供方式")
@ApiModelProperty("提供方式")
private String provideWay;
/** 附件 */
@Excel(name = "附件")
@ApiModelProperty("附件")
private String attachment;
}

92
jwtech-system/src/main/java/com/kms/build/domain/BsSgcJsjdBuiGzbzj.java

@ -0,0 +1,92 @@
package com.kms.build.domain;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianwei.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableName;
import com.jianwei.common.core.domain.BaseEntity;
/**
* 工资保证金对象 bs_sgc_jsjd_bui_gzbzj
*
* @author kms
* @date 2024-04-22
*/
@TableName("bs_sgc_jsjd_bui_gzbzj")
@Data
@ApiModel("工资保证金")
public class BsSgcJsjdBuiGzbzj extends BaseEntity
{
private static final long serialVersionUID = 1L;
/** 更新人 */
@Excel(name = "更新人")
@ApiModelProperty("更新人")
private String updateUid;
/** 创建人 */
@Excel(name = "创建人")
@ApiModelProperty("创建人")
private String createUid;
/** 项目编号 */
@Excel(name = "项目编号")
@ApiModelProperty("项目编号")
private String proNo;
/** 项目编码 */
@Excel(name = "项目编码")
@ApiModelProperty("项目编码")
private String projectCode;
/** 专用账号 */
@Excel(name = "专用账号")
@ApiModelProperty("专用账号")
private String dedicatedAccounts;
/** 账户开设时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "账户开设时间", width = 30, dateFormat = "yyyy-MM-dd")
@ApiModelProperty("账户开设时间")
private Date accountsTime;
/** 开户行 */
@Excel(name = "开户行")
@ApiModelProperty("开户行")
private String bank;
/** 当月转入专用账户金额 */
@Excel(name = "当月转入专用账户金额")
@ApiModelProperty("当月转入专用账户金额")
private String monthAmountTransferred;
/** 转账凭证 */
@Excel(name = "转账凭证")
@ApiModelProperty("转账凭证")
private String proofTransfer;
/** 拨付时间 */
@JsonFormat(pattern = "yyyy-MM-dd")
@Excel(name = "拨付时间", width = 30, dateFormat = "yyyy-MM-dd")
@ApiModelProperty("拨付时间")
private Date transferTime;
/** 拨付金额 */
@Excel(name = "拨付金额")
@ApiModelProperty("拨付金额")
private String transferAmount;
/** 余额 */
@Excel(name = "余额")
@ApiModelProperty("余额")
private String balance;
}

15
jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiGckzfdbMapper.java

@ -0,0 +1,15 @@
package com.kms.build.mapper;
import com.kms.build.domain.BsSgcJsjdBuiGckzfdb;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* 请填写功能名称Mapper接口
*
* @author kms
* @date 2024-04-22
*/
@Repository
public interface BsSgcJsjdBuiGckzfdbMapper extends BaseMapper<BsSgcJsjdBuiGckzfdb> {
}

17
jwtech-system/src/main/java/com/kms/build/mapper/BsSgcJsjdBuiGzbzjMapper.java

@ -0,0 +1,17 @@
package com.kms.build.mapper;
import com.kms.build.domain.BsSgcJsjdBuiGzbzj;
import org.springframework.stereotype.Repository;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.kms.system.domain.BsSgcJsjdBuiGzbzj;
/**
* 工资保证金Mapper接口
*
* @author kms
* @date 2024-04-22
*/
@Repository
public interface BsSgcJsjdBuiGzbzjMapper extends BaseMapper<BsSgcJsjdBuiGzbzj> {
}

18
jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiGckzfdbService.java

@ -0,0 +1,18 @@
package com.kms.build.service;
import com.kms.build.domain.BsSgcJsjdBuiGckzfdb;
import com.kms.build.mapper.BsSgcJsjdBuiGckzfdbMapper;
import org.springframework.stereotype.Service;
import com.jianwei.common.core.service.BaseService;
/**
* 请填写功能名称Service接口
*
* @author kms
* @date 2024-04-22
*/
@Service
public class BsSgcJsjdBuiGckzfdbService extends BaseService<BsSgcJsjdBuiGckzfdbMapper, BsSgcJsjdBuiGckzfdb>{
}

18
jwtech-system/src/main/java/com/kms/build/service/BsSgcJsjdBuiGzbzjService.java

@ -0,0 +1,18 @@
package com.kms.build.service;
import com.kms.build.domain.BsSgcJsjdBuiGzbzj;
import com.kms.build.mapper.BsSgcJsjdBuiGzbzjMapper;
import org.springframework.stereotype.Service;
import com.jianwei.common.core.service.BaseService;
/**
* 工资保证金Service接口
*
* @author kms
* @date 2024-04-22
*/
@Service
public class BsSgcJsjdBuiGzbzjService extends BaseService<BsSgcJsjdBuiGzbzjMapper, BsSgcJsjdBuiGzbzj>{
}

6
jwtech-system/src/main/java/com/kms/earlyStage/domain/BsSlgcQqjdTbbzj.java

@ -1,6 +1,9 @@
package com.kms.earlyStage.domain;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.handlers.FastjsonTypeHandler;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ -45,7 +48,8 @@ public class BsSlgcQqjdTbbzj extends BaseEntity
/** 收支方式 */
@Excel(name = "收支方式")
@ApiModelProperty("收支方式")
private String incomeExpenditureMethods;
@TableField(typeHandler = FastjsonTypeHandler.class)
private String[] incomeExpenditureMethods;
/** 工资保证金开户银行 */
@Excel(name = "工资保证金开户银行")

Loading…
Cancel
Save