企业团队接口
parent
e0a633aeb3
commit
eb0054ab60
|
@ -0,0 +1,8 @@
|
||||||
|
# 默认忽略的文件
|
||||||
|
/shelf/
|
||||||
|
/workspace.xml
|
||||||
|
# 基于编辑器的 HTTP 客户端请求
|
||||||
|
/httpRequests/
|
||||||
|
# Datasource local storage ignored files
|
||||||
|
/dataSources/
|
||||||
|
/dataSources.local.xml
|
|
@ -0,0 +1,17 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="CompilerConfiguration">
|
||||||
|
<annotationProcessing>
|
||||||
|
<profile default="true" name="Default" enabled="true" />
|
||||||
|
<profile name="Maven default annotation processors profile" enabled="true">
|
||||||
|
<sourceOutputDir name="target/generated-sources/annotations" />
|
||||||
|
<sourceTestOutputDir name="target/generated-test-sources/test-annotations" />
|
||||||
|
<outputRelativeToContentRoot value="true" />
|
||||||
|
<module name="cloud-market-common" />
|
||||||
|
<module name="cloud-market-server" />
|
||||||
|
<module name="cloud-market-client" />
|
||||||
|
<module name="cloud-market-remote" />
|
||||||
|
</profile>
|
||||||
|
</annotationProcessing>
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -0,0 +1,13 @@
|
||||||
|
node_modules/
|
||||||
|
dist/
|
||||||
|
vendor/
|
||||||
|
cache/
|
||||||
|
.*/
|
||||||
|
*.min.*
|
||||||
|
*.test.*
|
||||||
|
*.spec.*
|
||||||
|
*.bundle.*
|
||||||
|
*.bundle-min.*
|
||||||
|
*.*.js
|
||||||
|
*.*.ts
|
||||||
|
*.log
|
|
@ -0,0 +1,15 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Encoding">
|
||||||
|
<file url="file://$PROJECT_DIR$/cloud-market-client/src/main/java" charset="UTF-8" />
|
||||||
|
<file url="file://$PROJECT_DIR$/cloud-market-client/src/main/resources" charset="UTF-8" />
|
||||||
|
<file url="file://$PROJECT_DIR$/cloud-market-common/src/main/java" charset="UTF-8" />
|
||||||
|
<file url="file://$PROJECT_DIR$/cloud-market-common/src/main/resources" charset="UTF-8" />
|
||||||
|
<file url="file://$PROJECT_DIR$/cloud-market-remote/src/main/java" charset="UTF-8" />
|
||||||
|
<file url="file://$PROJECT_DIR$/cloud-market-remote/src/main/resources" charset="UTF-8" />
|
||||||
|
<file url="file://$PROJECT_DIR$/cloud-market-server/src/main/java" charset="UTF-8" />
|
||||||
|
<file url="file://$PROJECT_DIR$/cloud-market-server/src/main/resources" charset="UTF-8" />
|
||||||
|
<file url="file://$PROJECT_DIR$/src/main/java" charset="UTF-8" />
|
||||||
|
<file url="file://$PROJECT_DIR$/src/main/resources" charset="UTF-8" />
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -0,0 +1,25 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="RemoteRepositoriesConfiguration">
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="public" />
|
||||||
|
<option name="name" value="aliyun nexus" />
|
||||||
|
<option name="url" value="http://10.0.1.3:8081/repository/maven-public/" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Maven Central repository" />
|
||||||
|
<option name="url" value="https://repo1.maven.org/maven2" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="central" />
|
||||||
|
<option name="name" value="Central Repository" />
|
||||||
|
<option name="url" value="http://10.0.1.3:8081/repository/maven-public/" />
|
||||||
|
</remote-repository>
|
||||||
|
<remote-repository>
|
||||||
|
<option name="id" value="jboss.community" />
|
||||||
|
<option name="name" value="JBoss Community repository" />
|
||||||
|
<option name="url" value="https://repository.jboss.org/nexus/content/repositories/public/" />
|
||||||
|
</remote-repository>
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="ExternalStorageConfigurationManager" enabled="true" />
|
||||||
|
<component name="MavenProjectsManager">
|
||||||
|
<option name="originalFiles">
|
||||||
|
<list>
|
||||||
|
<option value="$PROJECT_DIR$/pom.xml" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
|
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="17" project-jdk-type="JavaSDK" />
|
||||||
|
</project>
|
|
@ -0,0 +1,124 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="Palette2">
|
||||||
|
<group name="Swing">
|
||||||
|
<item class="com.intellij.uiDesigner.HSpacer" tooltip-text="Horizontal Spacer" icon="/com/intellij/uiDesigner/icons/hspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="1" hsize-policy="6" anchor="0" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="com.intellij.uiDesigner.VSpacer" tooltip-text="Vertical Spacer" icon="/com/intellij/uiDesigner/icons/vspacer.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="1" anchor="0" fill="2" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JPanel" icon="/com/intellij/uiDesigner/icons/panel.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JScrollPane" icon="/com/intellij/uiDesigner/icons/scrollPane.png" removable="false" auto-create-binding="false" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="7" hsize-policy="7" anchor="0" fill="3" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JButton" icon="/com/intellij/uiDesigner/icons/button.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="0" fill="1" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="Button" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JRadioButton" icon="/com/intellij/uiDesigner/icons/radioButton.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="RadioButton" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JCheckBox" icon="/com/intellij/uiDesigner/icons/checkBox.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="3" anchor="8" fill="0" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="CheckBox" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JLabel" icon="/com/intellij/uiDesigner/icons/label.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="0" anchor="8" fill="0" />
|
||||||
|
<initial-values>
|
||||||
|
<property name="text" value="Label" />
|
||||||
|
</initial-values>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTextField" icon="/com/intellij/uiDesigner/icons/textField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||||
|
<preferred-size width="150" height="-1" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JPasswordField" icon="/com/intellij/uiDesigner/icons/passwordField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||||
|
<preferred-size width="150" height="-1" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JFormattedTextField" icon="/com/intellij/uiDesigner/icons/formattedTextField.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1">
|
||||||
|
<preferred-size width="150" height="-1" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTextArea" icon="/com/intellij/uiDesigner/icons/textArea.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTextPane" icon="/com/intellij/uiDesigner/icons/textPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JEditorPane" icon="/com/intellij/uiDesigner/icons/editorPane.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JComboBox" icon="/com/intellij/uiDesigner/icons/comboBox.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="2" anchor="8" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTable" icon="/com/intellij/uiDesigner/icons/table.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JList" icon="/com/intellij/uiDesigner/icons/list.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="2" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTree" icon="/com/intellij/uiDesigner/icons/tree.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3">
|
||||||
|
<preferred-size width="150" height="50" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JTabbedPane" icon="/com/intellij/uiDesigner/icons/tabbedPane.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||||
|
<preferred-size width="200" height="200" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSplitPane" icon="/com/intellij/uiDesigner/icons/splitPane.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="3" hsize-policy="3" anchor="0" fill="3">
|
||||||
|
<preferred-size width="200" height="200" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSpinner" icon="/com/intellij/uiDesigner/icons/spinner.png" removable="false" auto-create-binding="true" can-attach-label="true">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSlider" icon="/com/intellij/uiDesigner/icons/slider.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="8" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JSeparator" icon="/com/intellij/uiDesigner/icons/separator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="6" anchor="0" fill="3" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JProgressBar" icon="/com/intellij/uiDesigner/icons/progressbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JToolBar" icon="/com/intellij/uiDesigner/icons/toolbar.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="6" anchor="0" fill="1">
|
||||||
|
<preferred-size width="-1" height="20" />
|
||||||
|
</default-constraints>
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JToolBar$Separator" icon="/com/intellij/uiDesigner/icons/toolbarSeparator.png" removable="false" auto-create-binding="false" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="0" hsize-policy="0" anchor="0" fill="1" />
|
||||||
|
</item>
|
||||||
|
<item class="javax.swing.JScrollBar" icon="/com/intellij/uiDesigner/icons/scrollbar.png" removable="false" auto-create-binding="true" can-attach-label="false">
|
||||||
|
<default-constraints vsize-policy="6" hsize-policy="0" anchor="0" fill="2" />
|
||||||
|
</item>
|
||||||
|
</group>
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -0,0 +1,6 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project version="4">
|
||||||
|
<component name="VcsDirectoryMappings">
|
||||||
|
<mapping directory="" vcs="Git" />
|
||||||
|
</component>
|
||||||
|
</project>
|
|
@ -0,0 +1,4 @@
|
||||||
|
package com.muyu.market;
|
||||||
|
|
||||||
|
public class api {
|
||||||
|
}
|
|
@ -0,0 +1,126 @@
|
||||||
|
package com.muyu.market.domain;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.muyu.common.core.annotation.Excel;
|
||||||
|
import com.muyu.common.core.web.domain.BaseEntity;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 接口对象 sys_apitype
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-08-21
|
||||||
|
*/
|
||||||
|
@TableName(resultMap = "com.muyu.api.market.mapper.SysApitypeMapper.SysApitypeResult")
|
||||||
|
public class SysApitype extends BaseEntity
|
||||||
|
{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** api_id */
|
||||||
|
@TableId(value = "sys_id",type = IdType.AUTO)
|
||||||
|
private Long sysId;
|
||||||
|
|
||||||
|
/** 产品编号 */
|
||||||
|
@Excel(name = "产品编号")
|
||||||
|
private String sysSerial;
|
||||||
|
|
||||||
|
/** 简介 */
|
||||||
|
@Excel(name = "简介")
|
||||||
|
private String sysIntro;
|
||||||
|
|
||||||
|
/** 产品状态 */
|
||||||
|
@Excel(name = "产品状态")
|
||||||
|
private Long sysTypes;
|
||||||
|
|
||||||
|
/** 备注 */
|
||||||
|
@Excel(name = "备注")
|
||||||
|
private String sysBeihzu;
|
||||||
|
|
||||||
|
/** 类型选择 */
|
||||||
|
@Excel(name = "类型选择")
|
||||||
|
private Long sysLeixingpick;
|
||||||
|
|
||||||
|
/** 次/元 时间 */
|
||||||
|
@Excel(name = "次/元 时间")
|
||||||
|
private Long sysNumber;
|
||||||
|
|
||||||
|
public void setSysId(Long sysId)
|
||||||
|
{
|
||||||
|
this.sysId = sysId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getSysId()
|
||||||
|
{
|
||||||
|
return sysId;
|
||||||
|
}
|
||||||
|
public void setSysSerial(String sysSerial)
|
||||||
|
{
|
||||||
|
this.sysSerial = sysSerial;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSysSerial()
|
||||||
|
{
|
||||||
|
return sysSerial;
|
||||||
|
}
|
||||||
|
public void setSysIntro(String sysIntro)
|
||||||
|
{
|
||||||
|
this.sysIntro = sysIntro;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSysIntro()
|
||||||
|
{
|
||||||
|
return sysIntro;
|
||||||
|
}
|
||||||
|
public void setSysTypes(Long sysTypes)
|
||||||
|
{
|
||||||
|
this.sysTypes = sysTypes;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getSysTypes()
|
||||||
|
{
|
||||||
|
return sysTypes;
|
||||||
|
}
|
||||||
|
public void setSysBeihzu(String sysBeihzu)
|
||||||
|
{
|
||||||
|
this.sysBeihzu = sysBeihzu;
|
||||||
|
}
|
||||||
|
|
||||||
|
public String getSysBeihzu()
|
||||||
|
{
|
||||||
|
return sysBeihzu;
|
||||||
|
}
|
||||||
|
public void setSysLeixingpick(Long sysLeixingpick)
|
||||||
|
{
|
||||||
|
this.sysLeixingpick = sysLeixingpick;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getSysLeixingpick()
|
||||||
|
{
|
||||||
|
return sysLeixingpick;
|
||||||
|
}
|
||||||
|
public void setSysNumber(Long sysNumber)
|
||||||
|
{
|
||||||
|
this.sysNumber = sysNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Long getSysNumber()
|
||||||
|
{
|
||||||
|
return sysNumber;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("sysId", getSysId())
|
||||||
|
.append("sysSerial", getSysSerial())
|
||||||
|
.append("sysIntro", getSysIntro())
|
||||||
|
.append("sysTypes", getSysTypes())
|
||||||
|
.append("sysBeihzu", getSysBeihzu())
|
||||||
|
.append("sysLeixingpick", getSysLeixingpick())
|
||||||
|
.append("sysNumber", getSysNumber())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,107 @@
|
||||||
|
package com.muyu.market.domain;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.annotation.IdType;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableId;
|
||||||
|
import com.baomidou.mybatisplus.annotation.TableName;
|
||||||
|
import com.fasterxml.jackson.annotation.JsonFormat;
|
||||||
|
import com.muyu.common.core.annotation.Excel;
|
||||||
|
import com.muyu.common.core.web.domain.BaseEntity;
|
||||||
|
import lombok.*;
|
||||||
|
import lombok.experimental.SuperBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
||||||
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
||||||
|
|
||||||
|
import java.math.BigDecimal;
|
||||||
|
import java.util.Date;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 企业信息对象 sys_firminfo
|
||||||
|
*
|
||||||
|
* @author 2112A
|
||||||
|
* @date 2024-08-23
|
||||||
|
*/
|
||||||
|
|
||||||
|
@Data
|
||||||
|
@Setter
|
||||||
|
@Getter
|
||||||
|
@SuperBuilder
|
||||||
|
@NoArgsConstructor
|
||||||
|
@AllArgsConstructor
|
||||||
|
@TableName("sys_firminfo")
|
||||||
|
public class SysFirm extends BaseEntity{
|
||||||
|
private static final long serialVersionUID = 1L;
|
||||||
|
|
||||||
|
/** 企业数据id */
|
||||||
|
@TableId( type = IdType.AUTO)
|
||||||
|
private Long firmId;
|
||||||
|
|
||||||
|
/** 头像 */
|
||||||
|
@Excel(name = "头像")
|
||||||
|
private String firmAvatr;
|
||||||
|
|
||||||
|
/** 创建人昵称 */
|
||||||
|
@Excel(name = "创建人昵称")
|
||||||
|
private String createdName;
|
||||||
|
|
||||||
|
/** 手机号 */
|
||||||
|
@Excel(name = "手机号")
|
||||||
|
private String phone;
|
||||||
|
|
||||||
|
/** 企业名称 */
|
||||||
|
@Excel(name = "企业名称")
|
||||||
|
private String firmTem;
|
||||||
|
|
||||||
|
/** 姓名 */
|
||||||
|
@Excel(name = "姓名")
|
||||||
|
private String names;
|
||||||
|
|
||||||
|
/** 职位 */
|
||||||
|
@Excel(name = "职位")
|
||||||
|
private String position;
|
||||||
|
|
||||||
|
/** 公司所在省市区 */
|
||||||
|
@Excel(name = "公司所在省市区")
|
||||||
|
private String firmRegion;
|
||||||
|
|
||||||
|
/** 公司详细地址 */
|
||||||
|
@Excel(name = "公司详细地址")
|
||||||
|
private String firmFrom;
|
||||||
|
|
||||||
|
/** 社会信誉 */
|
||||||
|
@Excel(name = "社会信誉")
|
||||||
|
private String socialReputation;
|
||||||
|
|
||||||
|
/** 营业执照 */
|
||||||
|
@Excel(name = "营业执照")
|
||||||
|
private String businessLicense;
|
||||||
|
|
||||||
|
/** 创建时间 */
|
||||||
|
@JsonFormat(pattern = "yyyy-MM-dd")
|
||||||
|
@Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
|
||||||
|
private Date firmTime;
|
||||||
|
|
||||||
|
/** 余额 */
|
||||||
|
@Excel(name = "余额")
|
||||||
|
private BigDecimal firmScore;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String toString() {
|
||||||
|
return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
|
||||||
|
.append("firmId", getFirmId())
|
||||||
|
.append("firmAvatr", getFirmAvatr())
|
||||||
|
.append("createdName", getCreatedName())
|
||||||
|
.append("phone", getPhone())
|
||||||
|
.append("firmTem", getFirmTem())
|
||||||
|
.append("names", getNames())
|
||||||
|
.append("position", getPosition())
|
||||||
|
.append("firmRegion", getFirmRegion())
|
||||||
|
.append("firmFrom", getFirmFrom())
|
||||||
|
.append("socialReputation", getSocialReputation())
|
||||||
|
.append("businessLicense", getBusinessLicense())
|
||||||
|
.append("firmTime", getFirmTime())
|
||||||
|
.append("firmScore", getFirmScore())
|
||||||
|
.toString();
|
||||||
|
}
|
||||||
|
}
|
|
@ -69,10 +69,10 @@
|
||||||
<artifactId>cloud-common-xxl</artifactId>
|
<artifactId>cloud-common-xxl</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<!-- rabbit 公共依赖 -->
|
<!-- rabbit 公共依赖 -->
|
||||||
<dependency>
|
<!-- <dependency>-->
|
||||||
<groupId>com.muyu</groupId>
|
<!-- <groupId>com.muyu</groupId>-->
|
||||||
<artifactId>cloud-common-rabbit</artifactId>
|
<!-- <artifactId>cloud-common-rabbit</artifactId>-->
|
||||||
</dependency>
|
<!-- </dependency>-->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.muyu</groupId>
|
<groupId>com.muyu</groupId>
|
||||||
<artifactId>cloud-market-common</artifactId>
|
<artifactId>cloud-market-common</artifactId>
|
||||||
|
|
|
@ -6,13 +6,6 @@ import lombok.extern.log4j.Log4j2;
|
||||||
import org.springframework.boot.SpringApplication;
|
import org.springframework.boot.SpringApplication;
|
||||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
/**
|
|
||||||
* @Author:zhangchengzhi
|
|
||||||
* @Package:com.muyu.cloud.pay
|
|
||||||
* @Project:cloud-pay
|
|
||||||
* @name:MuYuPayApplication
|
|
||||||
* @Date:2024/7/29 17:08
|
|
||||||
*/
|
|
||||||
@Log4j2
|
@Log4j2
|
||||||
@EnableCustomConfig
|
@EnableCustomConfig
|
||||||
@EnableMyFeignClients
|
@EnableMyFeignClients
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
package com.muyu.market.controller;
|
|
||||||
|
|
||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
|
||||||
import lombok.RequiredArgsConstructor;
|
|
||||||
import lombok.extern.log4j.Log4j2;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
@Log4j2
|
|
||||||
@RestController
|
|
||||||
@RequestMapping("/market")
|
|
||||||
@RequiredArgsConstructor
|
|
||||||
@Tag(name = "集市接口控制层", description = "进行集市接口管理,查看等相关操作")
|
|
||||||
public class MarketController {
|
|
||||||
}
|
|
|
@ -0,0 +1,120 @@
|
||||||
|
package com.muyu.market.controller;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
import com.muyu.common.core.domain.Result;
|
||||||
|
import com.muyu.common.core.utils.poi.ExcelUtil;
|
||||||
|
import com.muyu.common.core.web.controller.BaseController;
|
||||||
|
import com.muyu.common.core.web.page.TableDataInfo;
|
||||||
|
import com.muyu.common.log.annotation.Log;
|
||||||
|
import com.muyu.common.log.enums.BusinessType;
|
||||||
|
import com.muyu.common.security.annotation.RequiresPermissions;
|
||||||
|
import com.muyu.market.domain.SysApitype;
|
||||||
|
import com.muyu.market.domain.SysFirm;
|
||||||
|
import com.muyu.market.service.ISysApitypeService;
|
||||||
|
import jakarta.servlet.http.HttpServletResponse;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.web.bind.annotation.*;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 接口Controller
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-08-21
|
||||||
|
*/
|
||||||
|
@RestController
|
||||||
|
@RequestMapping("/apitype")
|
||||||
|
public class SysApitypeController extends BaseController
|
||||||
|
{
|
||||||
|
@Autowired
|
||||||
|
private ISysApitypeService sysApitypeService;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询接口列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("market:apitype:list")
|
||||||
|
@GetMapping("/list")
|
||||||
|
public Result<TableDataInfo<SysApitype>> list(SysApitype sysApitype)
|
||||||
|
{
|
||||||
|
startPage();
|
||||||
|
List<SysApitype> list = sysApitypeService.selectSysApitypeList(sysApitype);
|
||||||
|
return getDataTable(list);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 企业信息接口
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("market:apitype:firm")
|
||||||
|
@GetMapping("/firm")
|
||||||
|
public Result<TableDataInfo<SysFirm>> apifirminfo(SysFirm sysFirm){
|
||||||
|
startPage();
|
||||||
|
List<SysFirm> apifirmlist= sysApitypeService.selectSysApiFirm(sysFirm);
|
||||||
|
return getDataTable(apifirmlist);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 导出接口列表
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("market:apitype:export")
|
||||||
|
@Log(title = "接口", businessType = BusinessType.EXPORT)
|
||||||
|
@PostMapping("/export")
|
||||||
|
public void export(HttpServletResponse response, SysApitype sysApitype)
|
||||||
|
{
|
||||||
|
List<SysApitype> list = sysApitypeService.selectSysApitypeList(sysApitype);
|
||||||
|
ExcelUtil<SysApitype> util = new ExcelUtil<SysApitype>(SysApitype.class);
|
||||||
|
util.exportExcel(response, list, "接口数据");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 获取接口详细信息
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("market:apitype:query")
|
||||||
|
@GetMapping(value = "/{sysId}")
|
||||||
|
public Result getInfo(@PathVariable("sysId") Long sysId)
|
||||||
|
{
|
||||||
|
return success(sysApitypeService.selectSysApitypeBySysId(sysId));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增接口
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("market:apitype:add")
|
||||||
|
@Log(title = "接口", businessType = BusinessType.INSERT)
|
||||||
|
@PostMapping
|
||||||
|
public Result add(@RequestBody SysApitype sysApitype)
|
||||||
|
{
|
||||||
|
return toAjax(sysApitypeService.insertSysApitype(sysApitype));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改接口
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("market:apitype:edit")
|
||||||
|
@Log(title = "接口", businessType = BusinessType.UPDATE)
|
||||||
|
@PutMapping
|
||||||
|
public Result edit(@RequestBody SysApitype sysApitype)
|
||||||
|
{
|
||||||
|
return toAjax(sysApitypeService.updateSysApitype(sysApitype));
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除接口
|
||||||
|
*/
|
||||||
|
@RequiresPermissions("market:apitype:remove")
|
||||||
|
@Log(title = "接口", businessType = BusinessType.DELETE)
|
||||||
|
@DeleteMapping("/{sysIds}")
|
||||||
|
public Result remove(@PathVariable Long[] sysIds)
|
||||||
|
{
|
||||||
|
return toAjax(sysApitypeService.deleteSysApitypeBySysIds(sysIds));
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,7 +0,0 @@
|
||||||
package com.muyu.market.mapper;
|
|
||||||
|
|
||||||
import org.apache.ibatis.annotations.Mapper;
|
|
||||||
|
|
||||||
@Mapper
|
|
||||||
public interface MarketMapper {
|
|
||||||
}
|
|
|
@ -0,0 +1,68 @@
|
||||||
|
package com.muyu.market.mapper;
|
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
||||||
|
import com.muyu.market.domain.SysApitype;
|
||||||
|
import com.muyu.market.domain.SysFirm;
|
||||||
|
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 接口Mapper接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-08-21
|
||||||
|
*/
|
||||||
|
public interface SysApitypeMapper extends BaseMapper<SysApitype> {
|
||||||
|
/**
|
||||||
|
* 查询接口
|
||||||
|
*
|
||||||
|
* @param sysId 接口主键
|
||||||
|
* @return 接口
|
||||||
|
*/
|
||||||
|
public SysApitype selectSysApitypeBySysId(Long sysId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询接口列表
|
||||||
|
*
|
||||||
|
* @param sysApitype 接口
|
||||||
|
* @return 接口集合
|
||||||
|
*/
|
||||||
|
public List<SysApitype> selectSysApitypeList(SysApitype sysApitype);
|
||||||
|
|
||||||
|
|
||||||
|
public List<SysFirm> selectSysApiFirm(SysFirm SysFirm);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增接口
|
||||||
|
*
|
||||||
|
* @param sysApitype 接口
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertSysApitype(SysApitype sysApitype);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改接口
|
||||||
|
*
|
||||||
|
* @param sysApitype 接口
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateSysApitype(SysApitype sysApitype);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除接口
|
||||||
|
*
|
||||||
|
* @param sysId 接口主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteSysApitypeBySysId(Long sysId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除接口
|
||||||
|
*
|
||||||
|
* @param sysIds 需要删除的数据主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteSysApitypeBySysIds(Long[] sysIds);
|
||||||
|
}
|
|
@ -0,0 +1,73 @@
|
||||||
|
package com.muyu.market.service;
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.IService;
|
||||||
|
import com.muyu.market.domain.SysApitype;
|
||||||
|
import com.muyu.market.domain.SysFirm;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 接口Service接口
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
|
||||||
|
*/
|
||||||
|
public interface ISysApitypeService extends IService<SysApitype> {
|
||||||
|
/**
|
||||||
|
* 查询接口
|
||||||
|
*
|
||||||
|
* @param sysId 接口主键
|
||||||
|
* @return 接口
|
||||||
|
*/
|
||||||
|
public SysApitype selectSysApitypeBySysId(Long sysId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询接口列表
|
||||||
|
*
|
||||||
|
* @param sysApitype 接口
|
||||||
|
* @return 接口集合
|
||||||
|
*/
|
||||||
|
public List<SysApitype> selectSysApitypeList(SysApitype sysApitype);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询企业信息
|
||||||
|
* @param sysFirm
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public List<SysFirm> selectSysApiFirm(SysFirm sysFirm);
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增接口
|
||||||
|
*
|
||||||
|
* @param sysApitype 接口
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int insertSysApitype(SysApitype sysApitype);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改接口
|
||||||
|
*
|
||||||
|
* @param sysApitype 接口
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int updateSysApitype(SysApitype sysApitype);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除接口
|
||||||
|
*
|
||||||
|
* @param sysIds 需要删除的接口主键集合
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteSysApitypeBySysIds(Long[] sysIds);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除接口信息
|
||||||
|
*
|
||||||
|
* @param sysId 接口主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
public int deleteSysApitypeBySysId(Long sysId);
|
||||||
|
|
||||||
|
|
||||||
|
}
|
|
@ -1,4 +0,0 @@
|
||||||
package com.muyu.market.service;
|
|
||||||
|
|
||||||
public interface MarketService {
|
|
||||||
}
|
|
|
@ -1,11 +0,0 @@
|
||||||
package com.muyu.market.service.impl;
|
|
||||||
|
|
||||||
import com.muyu.market.service.MarketService;
|
|
||||||
import lombok.extern.log4j.Log4j2;
|
|
||||||
import org.springframework.stereotype.Service;
|
|
||||||
|
|
||||||
@Log4j2
|
|
||||||
@Service
|
|
||||||
public class MarketServiceImpl implements MarketService {
|
|
||||||
|
|
||||||
}
|
|
|
@ -0,0 +1,97 @@
|
||||||
|
package com.muyu.market.service.impl;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||||
|
import com.muyu.market.domain.SysApitype;
|
||||||
|
import com.muyu.market.domain.SysFirm;
|
||||||
|
import com.muyu.market.mapper.SysApitypeMapper;
|
||||||
|
import com.muyu.market.service.ISysApitypeService;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
import java.util.List;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 接口Service业务层处理
|
||||||
|
*
|
||||||
|
* @author ruoyi
|
||||||
|
* @date 2024-08-21
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class SysApitypeServiceImpl extends ServiceImpl<SysApitypeMapper, SysApitype> implements ISysApitypeService {
|
||||||
|
@Autowired
|
||||||
|
private SysApitypeMapper sysApitypeMapper;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询接口
|
||||||
|
*
|
||||||
|
* @param sysId 接口主键
|
||||||
|
* @return 接口
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public SysApitype selectSysApitypeBySysId(Long sysId) {
|
||||||
|
return sysApitypeMapper.selectSysApitypeBySysId(sysId);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 查询接口列表
|
||||||
|
*
|
||||||
|
* @param sysApitype 接口
|
||||||
|
* @return 接口
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public List<SysApitype> selectSysApitypeList(SysApitype sysApitype) {
|
||||||
|
return sysApitypeMapper.selectSysApitypeList(sysApitype);
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<SysFirm> selectSysApiFirm(SysFirm sysFirm) {
|
||||||
|
return sysApitypeMapper.selectSysApiFirm(sysFirm);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 新增接口
|
||||||
|
*
|
||||||
|
* @param sysApitype 接口
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int insertSysApitype(SysApitype sysApitype) {
|
||||||
|
return sysApitypeMapper.insertSysApitype(sysApitype);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 修改接口
|
||||||
|
*
|
||||||
|
* @param sysApitype 接口
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int updateSysApitype(SysApitype sysApitype) {
|
||||||
|
return sysApitypeMapper.updateSysApitype(sysApitype);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 批量删除接口
|
||||||
|
*
|
||||||
|
* @param sysIds 需要删除的接口主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteSysApitypeBySysIds(Long[] sysIds) {
|
||||||
|
return sysApitypeMapper.deleteSysApitypeBySysIds(sysIds);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除接口信息
|
||||||
|
*
|
||||||
|
* @param sysId 接口主键
|
||||||
|
* @return 结果
|
||||||
|
*/
|
||||||
|
@Override
|
||||||
|
public int deleteSysApitypeBySysId(Long sysId) {
|
||||||
|
return sysApitypeMapper.deleteSysApitypeBySysId(sysId);
|
||||||
|
}
|
||||||
|
}
|
|
@ -1,10 +1,10 @@
|
||||||
# Tomcat
|
# Tomcat
|
||||||
server:
|
server:
|
||||||
port: 9777
|
port: 10023
|
||||||
|
|
||||||
# nacos线上地址
|
# nacos线上地址
|
||||||
nacos:
|
nacos:
|
||||||
addr: 47.116.202.53:8848
|
addr: 10.0.1.97:8848
|
||||||
user-name: nacos
|
user-name: nacos
|
||||||
password: nacos
|
password: nacos
|
||||||
namespace: cloud-2112
|
namespace: cloud-2112
|
||||||
|
@ -15,7 +15,7 @@ spring:
|
||||||
allow-bean-definition-overriding: true
|
allow-bean-definition-overriding: true
|
||||||
application:
|
application:
|
||||||
# 应用名称
|
# 应用名称
|
||||||
name: cloud-market
|
name: cloud-apimaster
|
||||||
profiles:
|
profiles:
|
||||||
# 环境配置
|
# 环境配置
|
||||||
active: dev
|
active: dev
|
||||||
|
|
|
@ -0,0 +1,86 @@
|
||||||
|
<?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.muyu.market.mapper.SysApitypeMapper">
|
||||||
|
|
||||||
|
<resultMap type="com.muyu.market.domain.SysApitype" id="SysApitypeResult">
|
||||||
|
<result property="sysId" column="sys_id" />
|
||||||
|
<result property="sysSerial" column="sys_serial" />
|
||||||
|
<result property="sysIntro" column="sys_intro" />
|
||||||
|
<result property="sysTypes" column="sys_types" />
|
||||||
|
<result property="sysBeihzu" column="sys_beihzu" />
|
||||||
|
<result property="sysLeixingpick" column="sys_leixingpick" />
|
||||||
|
<result property="sysNumber" column="sys_number" />
|
||||||
|
</resultMap>
|
||||||
|
|
||||||
|
<sql id="selectSysApitypeVo">
|
||||||
|
select sys_id, sys_serial, sys_intro, sys_types, sys_beihzu, sys_leixingpick, sys_number from sys_apitype
|
||||||
|
</sql>
|
||||||
|
|
||||||
|
<select id="selectSysApitypeList" parameterType="com.muyu.market.domain.SysApitype" resultMap="SysApitypeResult">
|
||||||
|
<include refid="selectSysApitypeVo"/>
|
||||||
|
<where>
|
||||||
|
<if test="sysSerial != null and sysSerial != ''"> and sys_serial = #{sysSerial}</if>
|
||||||
|
<if test="sysIntro != null and sysIntro != ''"> and sys_intro = #{sysIntro}</if>
|
||||||
|
<if test="sysTypes != null "> and sys_types = #{sysTypes}</if>
|
||||||
|
<if test="sysBeihzu != null and sysBeihzu != ''"> and sys_beihzu = #{sysBeihzu}</if>
|
||||||
|
<if test="sysLeixingpick != null "> and sys_leixingpick = #{sysLeixingpick}</if>
|
||||||
|
<if test="sysNumber != null "> and sys_number = #{sysNumber}</if>
|
||||||
|
</where>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select id="selectSysApitypeBySysId" parameterType="Long" resultMap="SysApitypeResult">
|
||||||
|
<include refid="selectSysApitypeVo"/>
|
||||||
|
where sys_id = #{sysId}
|
||||||
|
</select>
|
||||||
|
<select id="selectSysApiFirm" resultType="com.muyu.market.domain.SysFirm"
|
||||||
|
parameterType="com.muyu.market.domain.SysFirm">
|
||||||
|
select * from sys_firm where firm_id in (select firm_id from sys_apitype where sys_id in (select sys_id from sys_apitype where sys_serial = #{sysSerial}))
|
||||||
|
</select>
|
||||||
|
|
||||||
|
|
||||||
|
<insert id="insertSysApitype" parameterType="com.muyu.market.domain.SysApitype" useGeneratedKeys="true" keyProperty="sysId">
|
||||||
|
insert into sys_apitype
|
||||||
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="sysSerial != null">sys_serial,</if>
|
||||||
|
<if test="sysIntro != null">sys_intro,</if>
|
||||||
|
<if test="sysTypes != null">sys_types,</if>
|
||||||
|
<if test="sysBeihzu != null">sys_beihzu,</if>
|
||||||
|
<if test="sysLeixingpick != null">sys_leixingpick,</if>
|
||||||
|
<if test="sysNumber != null">sys_number,</if>
|
||||||
|
</trim>
|
||||||
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||||
|
<if test="sysSerial != null">#{sysSerial},</if>
|
||||||
|
<if test="sysIntro != null">#{sysIntro},</if>
|
||||||
|
<if test="sysTypes != null">#{sysTypes},</if>
|
||||||
|
<if test="sysBeihzu != null">#{sysBeihzu},</if>
|
||||||
|
<if test="sysLeixingpick != null">#{sysLeixingpick},</if>
|
||||||
|
<if test="sysNumber != null">#{sysNumber},</if>
|
||||||
|
</trim>
|
||||||
|
</insert>
|
||||||
|
|
||||||
|
<update id="updateSysApitype" parameterType="com.muyu.market.domain.SysApitype">
|
||||||
|
update sys_apitype
|
||||||
|
<trim prefix="SET" suffixOverrides=",">
|
||||||
|
<if test="sysSerial != null">sys_serial = #{sysSerial},</if>
|
||||||
|
<if test="sysIntro != null">sys_intro = #{sysIntro},</if>
|
||||||
|
<if test="sysTypes != null">sys_types = #{sysTypes},</if>
|
||||||
|
<if test="sysBeihzu != null">sys_beihzu = #{sysBeihzu},</if>
|
||||||
|
<if test="sysLeixingpick != null">sys_leixingpick = #{sysLeixingpick},</if>
|
||||||
|
<if test="sysNumber != null">sys_number = #{sysNumber},</if>
|
||||||
|
</trim>
|
||||||
|
where sys_id = #{sysId}
|
||||||
|
</update>
|
||||||
|
|
||||||
|
<delete id="deleteSysApitypeBySysId" parameterType="Long">
|
||||||
|
delete from sys_apitype where sys_id = #{sysId}
|
||||||
|
</delete>
|
||||||
|
|
||||||
|
<delete id="deleteSysApitypeBySysIds" parameterType="String">
|
||||||
|
delete from sys_apitype where sys_id in
|
||||||
|
<foreach item="sysId" collection="array" open="(" separator="," close=")">
|
||||||
|
#{sysId}
|
||||||
|
</foreach>
|
||||||
|
</delete>
|
||||||
|
</mapper>
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue