Merge remote-tracking branch 'origin/master'

master
郑明梁 2 years ago
commit 3bb10e20ea

@ -628,4 +628,19 @@ public class UdiRelevanceController {
//业务单据选入耗材字典查询列表
/**
*
*
* @param relId
* @return
*/
@GetMapping("/udiwms/udiinfo/getGgxhList")
public BaseResponse getGgxhList(String relId) {
if (StrUtil.isBlank(relId)) {
return ResultVOUtils.error(ResultEnum.PARAM_VERIFY_FALL);
}
List<String> ggxhList = udiProductService.getGgxhList(relId);
return ResultVOUtils.success(ggxhList);
}
}

@ -60,4 +60,12 @@ public interface UdiProductDao {
* @return
*/
Integer selectPackLevel(@Param("nameCode") String nameCode);
/**
*
*
* @param relId
* @return
*/
List<String> selectGgxhList(@Param("relId") String relId);
}

@ -15,6 +15,11 @@ public class AddInvRemindSetRequest {
*/
private String relId;
/**
*
*/
private String ggxh;
/**
*
*/
@ -35,11 +40,6 @@ public class AddInvRemindSetRequest {
*/
private Boolean lowStock;
/**
*
*/
private Integer lowStockNum;
/**
*
*/
@ -50,11 +50,6 @@ public class AddInvRemindSetRequest {
*/
private Boolean overStock;
/**
*
*/
private Integer overStockNum;
/**
*
*/
@ -65,11 +60,6 @@ public class AddInvRemindSetRequest {
*/
private Boolean recentDate;
/**
*
*/
private Integer recentDateDay;
/**
*
*/

@ -19,6 +19,11 @@ public class FilterInvRemindMsgRequest extends ListPageRequest {
*/
private String batchNo;
/**
*
*/
private String ggxh;
/**
*
*/
@ -44,4 +49,9 @@ public class FilterInvRemindMsgRequest extends ListPageRequest {
*/
private String type;
/**
* 017215330
*/
private Integer ignoreStatus;
}

@ -70,6 +70,11 @@ public class DeviceReceiveOrderResponse {
*/
private String receiveUserName;
/**
*
*/
private String receiveUser;
/**
*
*/

@ -40,5 +40,11 @@ public interface UdiProductService {
boolean deleteByUuid(String uuid);
/**
*
*
* @param relId
* @return
*/
List<String> getGgxhList(String relId);
}

@ -124,4 +124,9 @@ public class UdiProductServiceImpl implements UdiProductService {
public boolean deleteByUuid(String uuid) {
return udiProductDao.deleteByUuid(uuid);
}
@Override
public List<String> getGgxhList(String relId) {
return udiProductDao.selectGgxhList(relId);
}
}

@ -395,4 +395,11 @@
<select id="selectPackLevel" resultType="java.lang.Integer">
select packLevel from basic_products where nameCode = #{nameCode} limit 1
</select>
<select id="selectGgxhList" resultType="java.lang.String">
select distinct ggxh
from basic_products
left join basic_udirel on basic_products.uuid = basic_udirel.uuid
where basic_udirel.id = #{relId}
</select>
</mapper>

@ -853,9 +853,15 @@
<if test="nameCode != null">
AND nameCode = #{nameCode}
</if>
<if test="isDisable != null">
<if test="isDisable == false">
AND (basic_udirel.isDisable is null or basic_udirel.isDisable = false)
</if>
<if test="isDisable != null and isDisable == true">
AND isDisable = #{isDisable}
</if>
<if test="isDisable != null and isDisable == false">
AND (isDisable is null or isDisable = false)
</if>
</where>

@ -11,10 +11,13 @@
dro.createTime,
dro.updateTime,
dro.STATUS,
dro.fromInvSpaceCode,
dro.receiveUser,
( SELECT employeeName FROM auth_user WHERE id = dro.receiveUser ) receiveUserName,
( SELECT `name` FROM auth_dept WHERE CODE = dro.fromDeptCode ) fromDeptName,
( SELECT `code` FROM auth_dept WHERE CODE = dro.fromDeptCode ) fromDeptCode,
( SELECT `name` FROM auth_warehouse WHERE CODE = dro.fromInvCode ) fromInvName,
( SELECT `code` FROM auth_warehouse WHERE CODE = dro.fromInvCode ) fromInvCode,
( SELECT `name` FROM auth_space WHERE CODE = dro.fromInvSpaceCode ) fromInvSpaceName
FROM
device_receive_order dro

@ -283,10 +283,9 @@
AND ipd.invSpaceCode = #{invSpaceCode}
</if>
</where>
group by ip.relIdFk, bp.ggxh
</select>
<select id="filterProductList" resultType="com.glxp.api.res.inv.InvProductResponse"
parameterType="com.glxp.api.req.inv.FilterInvProductRequest">
select ip.id,

Loading…
Cancel
Save