Browse Source

feat:[资源库管理][钥匙管理]新增钥匙发放归还台账表

master
15881625488@163.com 3 weeks ago
parent
commit
f701a1d189
5 changed files with 260 additions and 0 deletions
  1. +201
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/ZcgTz.java
  2. +14
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/mapper/ZcgTzMapper.java
  3. +16
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/IZcgTzService.java
  4. +23
    -0
      hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/ZcgTzServiceImpl.java
  5. +6
    -0
      hxhq-modules/hxhq-system/src/main/resources/mapper/business/ZcgTzMapper.xml

+ 201
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/domain/ZcgTz.java View File

@ -0,0 +1,201 @@
package com.hxhq.business.domain;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hxhq.common.core.domain.MpBaseEntity;
/**
* 暂存柜-台账对象 t_zcg_tz
*
* @author hxhq
* @date 2025-12-19
*/
@TableName("t_zcg_tz")
public class ZcgTz extends MpBaseEntity
{
private static final long serialVersionUID = 1L;
/** 暂存柜id */
private Long zcgId;
/** 钥匙1领取人id */
private Long lqr1Id;
/** 钥匙1领取人名称 */
private String lqr1Mc;
/** 钥匙2领取人id */
private Long lqr2Id;
/** 钥匙2领取人名称 */
private String lqr2Mc;
/** 钥匙1归还人id */
private Long ghr1Id;
/** 钥匙1归还人名称 */
private String ghr1Mc;
/** 钥匙2归还人id */
private Long ghr2Id;
/** 钥匙2归还人名称 */
private String ghr2Mc;
/** 接收人id */
private Long jsrId;
/** 接收人名称 */
private String jsrMc;
/** 发放人id */
private Long ffrId;
/** 发放人名称 */
private String ffrMc;
/** 签名意义 */
private String qmyy;
public void setZcgId(Long zcgId)
{
this.zcgId = zcgId;
}
public Long getZcgId()
{
return zcgId;
}
public void setLqr1Id(Long lqr1Id)
{
this.lqr1Id = lqr1Id;
}
public Long getLqr1Id()
{
return lqr1Id;
}
public void setLqr1Mc(String lqr1Mc)
{
this.lqr1Mc = lqr1Mc;
}
public String getLqr1Mc()
{
return lqr1Mc;
}
public void setLqr2Id(Long lqr2Id)
{
this.lqr2Id = lqr2Id;
}
public Long getLqr2Id()
{
return lqr2Id;
}
public void setLqr2Mc(String lqr2Mc)
{
this.lqr2Mc = lqr2Mc;
}
public String getLqr2Mc()
{
return lqr2Mc;
}
public void setGhr1Id(Long ghr1Id)
{
this.ghr1Id = ghr1Id;
}
public Long getGhr1Id()
{
return ghr1Id;
}
public void setGhr1Mc(String ghr1Mc)
{
this.ghr1Mc = ghr1Mc;
}
public String getGhr1Mc()
{
return ghr1Mc;
}
public void setGhr2Id(Long ghr2Id)
{
this.ghr2Id = ghr2Id;
}
public Long getGhr2Id()
{
return ghr2Id;
}
public void setGhr2Mc(String ghr2Mc)
{
this.ghr2Mc = ghr2Mc;
}
public String getGhr2Mc()
{
return ghr2Mc;
}
public void setJsrId(Long jsrId)
{
this.jsrId = jsrId;
}
public Long getJsrId()
{
return jsrId;
}
public void setJsrMc(String jsrMc)
{
this.jsrMc = jsrMc;
}
public String getJsrMc()
{
return jsrMc;
}
public void setFfrId(Long ffrId)
{
this.ffrId = ffrId;
}
public Long getFfrId()
{
return ffrId;
}
public void setFfrMc(String ffrMc)
{
this.ffrMc = ffrMc;
}
public String getFfrMc()
{
return ffrMc;
}
public void setQmyy(String qmyy)
{
this.qmyy = qmyy;
}
public String getQmyy()
{
return qmyy;
}
}

+ 14
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/mapper/ZcgTzMapper.java View File

@ -0,0 +1,14 @@
package com.hxhq.business.mapper;
import com.hxhq.business.domain.ZcgTz;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
/**
* 暂存柜-台账Mapper接口
*
* @author hxhq
* @date 2025-12-19
*/
public interface ZcgTzMapper extends BaseMapper<ZcgTz>
{
}

+ 16
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/IZcgTzService.java View File

@ -0,0 +1,16 @@
package com.hxhq.business.service;
import java.util.List;
import com.hxhq.business.domain.ZcgTz;
import com.baomidou.mybatisplus.extension.service.IService;
/**
* 暂存柜-台账Service接口
*
* @author hxhq
* @date 2025-12-19
*/
public interface IZcgTzService extends IService<ZcgTz>
{
}

+ 23
- 0
hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/ZcgTzServiceImpl.java View File

@ -0,0 +1,23 @@
package com.hxhq.business.service.impl;
import java.util.List;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import org.springframework.stereotype.Service;
import com.hxhq.business.mapper.ZcgTzMapper;
import com.hxhq.business.domain.ZcgTz;
import com.hxhq.business.service.IZcgTzService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
/**
* 暂存柜-台账Service业务层处理
*
* @author hxhq
* @date 2025-12-19
*/
@Service
public class ZcgTzServiceImpl extends ServiceImpl<ZcgTzMapper, ZcgTz> implements IZcgTzService
{
}

+ 6
- 0
hxhq-modules/hxhq-system/src/main/resources/mapper/business/ZcgTzMapper.xml View File

@ -0,0 +1,6 @@
<?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.hxhq.business.mapper.ZcgTzMapper">
</mapper>

Loading…
Cancel
Save