Commit d42f6666 by wangli

新增

1 parent c73a7739
package com.dituhui.pea.order.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dituhui.pea.order.entity.EngineerInfo;
import com.dituhui.pea.order.entity.EngineerSkillGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
@Mapper
public interface EngineerSkillGroupMPDao extends BaseMapper<EngineerSkillGroup> {
@Select("select * from engineer_skill_group where engineer_code = #{engineerCode}")
List<EngineerSkillGroup> selectByEngineerCode(String engineerCode);
}
package com.dituhui.pea.order.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dituhui.pea.order.entity.SkillGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
@Mapper
public interface SkillGroupMPDao extends BaseMapper<SkillGroup> {
@Select("select * from skill_group where skill_group_code = #{groupCode}")
SkillGroup selectByGroupCode(String groupCode);
}
package com.dituhui.pea.order.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dituhui.pea.order.entity.SkillInfo;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface SkillInfoMPDao extends BaseMapper<SkillInfo> {
}
package com.dituhui.pea.order.entity;
import lombok.Data;
import java.sql.Timestamp;
@Data
public class EngineerSkillGroup {
private Integer id;
private String engineerCode;
private String skillGroupCode;
private String description;
private Integer beanStatus;
private Integer status;
private String memo;
private Timestamp createTime;
private Timestamp updateTime;
}
\ No newline at end of file
package com.dituhui.pea.order.entity;
import lombok.Data;
import java.time.LocalDateTime;
@Data
public class SkillGroup {
private Integer id;
private String skillCode;
private String brand;
private String type;
private String skill;
private Integer takeTime;
private Integer takeEngineer;
private Integer lowElectricianCert;
private Integer gasCert;
private Integer priority;
private String skillGroupCode;
private String layerId;
private String typeCategory;
private String skillCategory;
private String memo;
private LocalDateTime createTime;
private LocalDateTime updateTime;
}
package com.dituhui.pea.order.entity;
import lombok.Data;
import java.time.LocalDate;
import java.time.LocalDateTime;
@Data
public class SkillInfo {
private Integer id;
private String skillGroupCode;
private String skillGroup;
private String describe;
private String category;
private String memo;
private LocalDateTime createTime;
private LocalDate updateTime;
}
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!