diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/controller/Item2Controller.java b/ruoyi-system/src/main/java/com/ruoyi/system/controller/Item2Controller.java
index e1cf2b8..dcad9a4 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/controller/Item2Controller.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/controller/Item2Controller.java
@@ -6,7 +6,14 @@ import javax.servlet.http.HttpServletResponse;
import com.ruoyi.common.annotation.Anonymous;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.beans.factory.annotation.Autowired;
-import org.springframework.web.bind.annotation.*;
+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.ruoyi.common.annotation.Log;
import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
@@ -20,9 +27,8 @@ import com.ruoyi.common.core.page.TableDataInfo;
* item2Controller
*
* @author ruoyi
- * @date 2024-12-01
+ * @date 2024-12-04
*/
-@CrossOrigin
@RestController
@RequestMapping("/system/item2")
public class Item2Controller extends BaseController
@@ -33,7 +39,7 @@ public class Item2Controller extends BaseController
/**
* 查询item2列表
*/
- /* @PreAuthorize("@ss.hasPermi('system:item2:list')")*/
+ /* @PreAuthorize("@ss.hasPermi('system:item2:list')")*/
@Anonymous
@GetMapping("/list")
public TableDataInfo list(Item2 item2)
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/Item2.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Item2.java
index 107e36b..31432aa 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/Item2.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/Item2.java
@@ -9,7 +9,7 @@ import com.ruoyi.common.core.domain.BaseEntity;
* item2对象 item2
*
* @author ruoyi
- * @date 2024-12-01
+ * @date 2024-12-04
*/
public class Item2 extends BaseEntity
{
@@ -34,6 +34,10 @@ public class Item2 extends BaseEntity
@Excel(name = "yiqing")
private String yiqing;
+ /** data_place */
+ @Excel(name = "data_place")
+ private String dataPlace;
+
public void setId(Integer id)
{
this.id = id;
@@ -79,6 +83,15 @@ public class Item2 extends BaseEntity
{
return yiqing;
}
+ public void setDataPlace(String dataPlace)
+ {
+ this.dataPlace = dataPlace;
+ }
+
+ public String getDataPlace()
+ {
+ return dataPlace;
+ }
@Override
public String toString() {
@@ -88,6 +101,7 @@ public class Item2 extends BaseEntity
.append("idcard", getIdcard())
.append("telephone", getTelephone())
.append("yiqing", getYiqing())
+ .append("dataPlace", getDataPlace())
.toString();
}
}
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/Item2Mapper.java b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/Item2Mapper.java
index 4d57c6f..39803b0 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/mapper/Item2Mapper.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/mapper/Item2Mapper.java
@@ -7,7 +7,7 @@ import com.ruoyi.system.domain.Item2;
* item2Mapper接口
*
* @author ruoyi
- * @date 2024-12-01
+ * @date 2024-12-04
*/
public interface Item2Mapper
{
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/IItem2Service.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/IItem2Service.java
index 643fa58..48b11df 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/IItem2Service.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/IItem2Service.java
@@ -7,7 +7,7 @@ import com.ruoyi.system.domain.Item2;
* item2Service接口
*
* @author ruoyi
- * @date 2024-12-01
+ * @date 2024-12-04
*/
public interface IItem2Service
{
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/Item2ServiceImpl.java b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/Item2ServiceImpl.java
index ef37eb6..632f1cb 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/Item2ServiceImpl.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/service/impl/Item2ServiceImpl.java
@@ -11,7 +11,7 @@ import com.ruoyi.system.service.IItem2Service;
* item2Service业务层处理
*
* @author ruoyi
- * @date 2024-12-01
+ * @date 2024-12-04
*/
@Service
public class Item2ServiceImpl implements IItem2Service
diff --git a/ruoyi-system/src/main/resources/mapper/system/Item2Mapper.xml b/ruoyi-system/src/main/resources/mapper/system/Item2Mapper.xml
index 968b192..de0b90c 100644
--- a/ruoyi-system/src/main/resources/mapper/system/Item2Mapper.xml
+++ b/ruoyi-system/src/main/resources/mapper/system/Item2Mapper.xml
@@ -10,10 +10,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
+
- select id, name, idcard, telephone, yiqing from item2
+ select id, name, idcard, telephone, yiqing, data_place from item2
@@ -38,12 +40,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
idcard,
telephone,
yiqing,
+ data_place,
#{name},
#{idcard},
#{telephone},
#{yiqing},
+ #{dataPlace},
@@ -54,6 +58,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
idcard = #{idcard},
telephone = #{telephone},
yiqing = #{yiqing},
+ data_place = #{dataPlace},
where id = #{id}