fix:地磅重量信息接口,后端接收类型修改
This commit is contained in:
parent
3aa4cb77f5
commit
11bd4172d6
@ -58,7 +58,7 @@ public class WmsScalesWeightInfoController extends BaseController
|
|||||||
*/
|
*/
|
||||||
@PreAuthorize("@ss.hasPermi('scalesWeightInfo:wmsScalesWeightInfo:query')")
|
@PreAuthorize("@ss.hasPermi('scalesWeightInfo:wmsScalesWeightInfo:query')")
|
||||||
@GetMapping(value = "/{id}")
|
@GetMapping(value = "/{id}")
|
||||||
public AjaxResult getInfo(@PathVariable("id") Long id)
|
public AjaxResult getInfo(@PathVariable("id") String id)
|
||||||
{
|
{
|
||||||
return success(wmsScalesWeightInfoService.selectWmsScalesWeightInfoById(id));
|
return success(wmsScalesWeightInfoService.selectWmsScalesWeightInfoById(id));
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,7 @@ public interface WmsScalesWeightInfoMapper
|
|||||||
* @param id 地磅重量信息接口主键
|
* @param id 地磅重量信息接口主键
|
||||||
* @return 地磅重量信息接口
|
* @return 地磅重量信息接口
|
||||||
*/
|
*/
|
||||||
public WmsScalesWeightInfo selectWmsScalesWeightInfoById(Long id);
|
public WmsScalesWeightInfo selectWmsScalesWeightInfoById(String id);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询地磅重量信息接口列表
|
* 查询地磅重量信息接口列表
|
||||||
|
@ -18,7 +18,7 @@ public interface IWmsScalesWeightInfoService
|
|||||||
* @param id 地磅重量信息接口主键
|
* @param id 地磅重量信息接口主键
|
||||||
* @return 地磅重量信息接口
|
* @return 地磅重量信息接口
|
||||||
*/
|
*/
|
||||||
public WmsScalesWeightInfo selectWmsScalesWeightInfoById(Long id);
|
public WmsScalesWeightInfo selectWmsScalesWeightInfoById(String id);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 查询地磅重量信息接口列表
|
* 查询地磅重量信息接口列表
|
||||||
|
@ -28,7 +28,7 @@ public class WmsScalesWeightInfoServiceImpl implements IWmsScalesWeightInfoServi
|
|||||||
* @return 地磅重量信息接口
|
* @return 地磅重量信息接口
|
||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public WmsScalesWeightInfo selectWmsScalesWeightInfoById(Long id)
|
public WmsScalesWeightInfo selectWmsScalesWeightInfoById(String id)
|
||||||
{
|
{
|
||||||
return wmsScalesWeightInfoMapper.selectWmsScalesWeightInfoById(id);
|
return wmsScalesWeightInfoMapper.selectWmsScalesWeightInfoById(id);
|
||||||
}
|
}
|
||||||
|
@ -32,7 +32,7 @@
|
|||||||
</where>
|
</where>
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
<select id="selectWmsScalesWeightInfoById" parameterType="Long" resultMap="WmsScalesWeightInfoResult">
|
<select id="selectWmsScalesWeightInfoById" parameterType="String" resultMap="WmsScalesWeightInfoResult">
|
||||||
<include refid="selectWmsScalesWeightInfoVo"/>
|
<include refid="selectWmsScalesWeightInfoVo"/>
|
||||||
where id = #{id}
|
where id = #{id}
|
||||||
</select>
|
</select>
|
||||||
|
Loading…
Reference in New Issue
Block a user