zds
1 month ago
28 changed files with 81 additions and 142 deletions
@ -1,12 +1,10 @@ |
|||
package org.nl.wms.basedata.master.sectattr.service; |
|||
package org.nl.wms.basedata.st.sectattr.service; |
|||
|
|||
import com.alibaba.fastjson.JSONObject; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import org.nl.common.domain.query.PageQuery; |
|||
import org.nl.wms.basedata.master.sectattr.service.dao.Sectattr; |
|||
import org.nl.wms.basedata.master.sectattr.service.dto.SectattrDto; |
|||
import org.springframework.data.domain.Pageable; |
|||
import org.nl.wms.basedata.st.sectattr.service.dao.Sectattr; |
|||
import org.nl.wms.basedata.st.sectattr.service.dto.SectattrDto; |
|||
|
|||
import java.util.HashMap; |
|||
import java.util.List; |
@ -1,4 +1,4 @@ |
|||
package org.nl.wms.basedata.master.sectattr.service.dao; |
|||
package org.nl.wms.basedata.st.sectattr.service.dao; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.IdType; |
|||
import com.baomidou.mybatisplus.annotation.TableId; |
@ -1,16 +1,10 @@ |
|||
package org.nl.wms.basedata.master.sectattr.service.dao.mapper; |
|||
package org.nl.wms.basedata.st.sectattr.service.dao.mapper; |
|||
|
|||
import com.alibaba.fastjson.JSONObject; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
import org.nl.common.domain.query.PageQuery; |
|||
import org.nl.modules.common.annotation.Query; |
|||
import org.nl.wms.basedata.master.sectattr.service.dao.Sectattr; |
|||
import org.springframework.data.domain.Pageable; |
|||
|
|||
import java.util.HashMap; |
|||
import java.util.List; |
|||
import org.nl.wms.basedata.st.sectattr.service.dao.Sectattr; |
|||
|
|||
/** |
|||
* @author LENOVO |
@ -1,8 +1,8 @@ |
|||
<?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="org.nl.wms.basedata.master.sectattr.service.dao.mapper.SectattrMapper"> |
|||
<mapper namespace="org.nl.wms.basedata.st.sectattr.service.dao.mapper.SectattrMapper"> |
|||
|
|||
<select id="queryAll" resultType="org.nl.wms.basedata.master.sectattr.service.dto.SectattrDto"> |
|||
<select id="queryAll" resultType="org.nl.wms.basedata.st.sectattr.service.dto.SectattrDto"> |
|||
select |
|||
sect.*, |
|||
stor.stor_name |
@ -1,4 +1,4 @@ |
|||
package org.nl.wms.basedata.master.sectattr.service.dto; |
|||
package org.nl.wms.basedata.st.sectattr.service.dto; |
|||
|
|||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
|||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
@ -1,15 +1,13 @@ |
|||
package org.nl.wms.basedata.master.storattr.controller; |
|||
package org.nl.wms.basedata.st.storattr.controller; |
|||
|
|||
|
|||
import com.alibaba.fastjson.JSONObject; |
|||
import lombok.RequiredArgsConstructor; |
|||
import lombok.extern.slf4j.Slf4j; |
|||
import org.nl.common.domain.query.PageQuery; |
|||
import org.nl.modules.logging.annotation.Log; |
|||
import org.nl.wms.basedata.master.storattr.service.StorattrService; |
|||
import org.nl.wms.basedata.master.storattr.service.dao.Storattr; |
|||
import org.nl.wms.basedata.master.storattr.service.dto.StorattrDto; |
|||
import org.springframework.data.domain.Pageable; |
|||
import org.nl.wms.basedata.st.storattr.service.StorattrService; |
|||
import org.nl.wms.basedata.st.storattr.service.dao.Storattr; |
|||
import org.nl.wms.basedata.st.storattr.service.dto.StorattrDto; |
|||
import org.springframework.http.HttpStatus; |
|||
import org.springframework.http.ResponseEntity; |
|||
import org.springframework.validation.annotation.Validated; |
@ -1,11 +1,10 @@ |
|||
package org.nl.wms.basedata.master.storattr.service; |
|||
package org.nl.wms.basedata.st.storattr.service; |
|||
|
|||
import com.alibaba.fastjson.JSONObject; |
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import org.nl.common.domain.query.PageQuery; |
|||
import org.nl.wms.basedata.master.storattr.service.dao.Storattr; |
|||
import org.nl.wms.basedata.master.storattr.service.dto.StorattrDto; |
|||
import org.springframework.data.domain.Pageable; |
|||
import org.nl.wms.basedata.st.storattr.service.dao.Storattr; |
|||
import org.nl.wms.basedata.st.storattr.service.dto.StorattrDto; |
|||
|
|||
import java.util.List; |
|||
import java.util.Map; |
@ -1,15 +1,9 @@ |
|||
package org.nl.wms.basedata.master.storattr.service.dao.mapper; |
|||
package org.nl.wms.basedata.st.storattr.service.dao.mapper; |
|||
|
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import org.apache.ibatis.annotations.Param; |
|||
import org.nl.wms.basedata.master.materialbase.service.dao.Materialbase; |
|||
import org.nl.wms.basedata.master.storattr.service.dao.Storattr; |
|||
import org.nl.wms.basedata.master.structattr.service.dao.Structattr; |
|||
import org.springframework.data.domain.Pageable; |
|||
|
|||
import java.util.HashMap; |
|||
import java.util.List; |
|||
import org.nl.wms.basedata.st.storattr.service.dao.Storattr; |
|||
|
|||
public interface StorattrMapper extends BaseMapper<Storattr> { |
|||
|
@ -1,8 +1,8 @@ |
|||
<?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="org.nl.wms.basedata.master.storattr.service.dao.mapper.StorattrMapper"> |
|||
<mapper namespace="org.nl.wms.basedata.st.storattr.service.dao.mapper.StorattrMapper"> |
|||
|
|||
<select id="queryAll" resultType="org.nl.wms.basedata.master.storattr.service.dao.Storattr"> |
|||
<select id="queryAll" resultType="org.nl.wms.basedata.st.storattr.service.dao.Storattr"> |
|||
SELECT stor.* |
|||
FROM st_ivt_bsrealstorattr stor |
|||
<where> |
@ -1,11 +1,10 @@ |
|||
package org.nl.wms.basedata.master.storattr.service.dto; |
|||
package org.nl.wms.basedata.st.storattr.service.dto; |
|||
|
|||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
|||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
|||
import lombok.Data; |
|||
|
|||
import java.io.Serializable; |
|||
import java.math.BigDecimal; |
|||
|
|||
/** |
|||
* @author zhouz |
@ -1,12 +1,12 @@ |
|||
package org.nl.wms.basedata.master.structattr.service; |
|||
package org.nl.wms.basedata.st.structattr.service; |
|||
|
|||
import com.alibaba.fastjson.JSONArray; |
|||
import com.alibaba.fastjson.JSONObject; |
|||
import com.baomidou.mybatisplus.core.metadata.IPage; |
|||
import com.baomidou.mybatisplus.extension.service.IService; |
|||
import org.nl.common.domain.query.PageQuery; |
|||
import org.nl.wms.basedata.master.structattr.service.dao.Structattr; |
|||
import org.nl.wms.basedata.master.structattr.service.dto.StructattrDto; |
|||
import org.nl.wms.basedata.st.structattr.service.dao.Structattr; |
|||
import org.nl.wms.basedata.st.structattr.service.dto.StructattrDto; |
|||
import org.springframework.data.domain.Pageable; |
|||
|
|||
import java.util.List; |
@ -1,4 +1,4 @@ |
|||
package org.nl.wms.basedata.master.structattr.service.dao; |
|||
package org.nl.wms.basedata.st.structattr.service.dao; |
|||
|
|||
import com.baomidou.mybatisplus.annotation.TableId; |
|||
import com.baomidou.mybatisplus.annotation.TableName; |
@ -1,10 +1,10 @@ |
|||
package org.nl.wms.basedata.master.structattr.service.dao.mapper; |
|||
package org.nl.wms.basedata.st.structattr.service.dao.mapper; |
|||
|
|||
import com.alibaba.fastjson.JSONArray; |
|||
import com.alibaba.fastjson.JSONObject; |
|||
import com.baomidou.mybatisplus.core.mapper.BaseMapper; |
|||
import org.apache.ibatis.annotations.Param; |
|||
import org.nl.wms.basedata.master.structattr.service.dao.Structattr; |
|||
import org.nl.wms.basedata.st.structattr.service.dao.Structattr; |
|||
|
|||
import java.util.List; |
|||
|
@ -1,6 +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="org.nl.wms.basedata.master.structattr.service.dao.mapper.StructattrMapper"> |
|||
<mapper namespace="org.nl.wms.basedata.st.structattr.service.dao.mapper.StructattrMapper"> |
|||
|
|||
<select id="getPrefix" resultType="com.alibaba.fastjson.JSONObject"> |
|||
select * |
@ -1,4 +1,4 @@ |
|||
package org.nl.wms.basedata.master.structattr.service.dto; |
|||
package org.nl.wms.basedata.st.structattr.service.dto; |
|||
|
|||
import com.fasterxml.jackson.databind.annotation.JsonSerialize; |
|||
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer; |
Loading…
Reference in new issue