单据类型添加编辑类型

dev2.0
anthonywj 2 years ago
parent 1c8f6cbeb6
commit 1807df0e31

@ -430,4 +430,9 @@ public class BasicBussinessTypeEntity {
private int spaceOut;
/**
* , 12
*/
@TableField(value = "editType")
private Integer editType;
}

@ -294,7 +294,6 @@ public class BussinessTypeSaveRequest {
private boolean fillCodeRel;
private Integer checkVailDate;
private Integer checkExpire;
private Integer checkCertExpire;
@ -304,4 +303,9 @@ public class BussinessTypeSaveRequest {
private String checkPreInOrders;
private Boolean advancePreIn;
/**
* , 12
*/
private Integer editType;
}

@ -115,4 +115,8 @@ public class FilterBussinessTypeRequest extends ListPageRequest {
private Integer actionType;
/**
* , 12
*/
private Integer editType;
}

@ -165,4 +165,10 @@ public class BasicBussinessTypeResponse {
*
*/
private boolean thrCheckReview;
/**
* , 12
*/
private Integer editType;
}

@ -13,6 +13,7 @@ import com.glxp.api.req.basic.FilterUdiRelRequest;
import com.glxp.api.res.basic.UdiRelevanceResponse;
import com.glxp.api.service.basic.UdiRelevanceService;
import com.glxp.api.service.thrsys.ThrSystemService;
import com.glxp.api.util.IntUtil;
import com.glxp.api.util.udi.FilterUdiUtils;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
@ -122,7 +123,7 @@ public class UdiRelevanceServiceImpl extends ServiceImpl<UdiRelevanceDao, UdiRel
}
if (udiRelevanceResponses.size() == 1) {
UdiRelevanceResponse udiRelevanceResponse = udiRelevanceResponses.get(0);
if (udiRelevanceResponse == null || udiRelevanceResponse.getProductType() == ConstantStatus.PRODUCT_TYPE_THIRD) {
if (udiRelevanceResponse == null || IntUtil.value(udiRelevanceResponse.getProductType()) == ConstantStatus.PRODUCT_TYPE_THIRD) {
return selectByMainId(nameCode);
}
}

@ -3,7 +3,7 @@ server:
spring:
datasource:
driver-class-name: com.p6spy.engine.spy.P6SpyDriver
jdbc-url: jdbc:p6spy:mysql://127.0.0.1:3306/udi_spms_pt?allowMultiQueries=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
jdbc-url: jdbc:p6spy:mysql://127.0.0.1:3306/udi_spms_ph?allowMultiQueries=true&serverTimezone=Asia/Shanghai&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&allowPublicKeyRetrieval=true
username: root
password: 123456
hikari:

@ -138,7 +138,7 @@
from auth_warehouse_bustype
inner join basic_bussiness_type on auth_warehouse_bustype.action = basic_bussiness_type.action
where code = #{code}
group by auth_warehouse_bustype.code
group by auth_warehouse_bustype.action
</select>

@ -227,6 +227,9 @@
<if test="userId != ''and userId != null">
AND auth_user_bustype.`userId` = #{userId}
</if>
<if test="editType != null">
AND basic_bussiness_type.editType = #{editType}
</if>
</where>
group by basic_bussiness_type.action
</select>

@ -360,7 +360,7 @@
AND `action` IN (SELECT `action`
FROM basic_bussiness_type
WHERE supplementOrderType IS NOT NULL
OR supplementOrderType
and supplementOrderType
!= '')
</select>

@ -153,3 +153,4 @@ INSERT ignore INTO `auth_menu`(`menu_id`, `menu_name`, `parent_id`, `order_num`,
`create_time`, `update_by`, `update_time`, `remark`)
VALUES (2004, '任务管理', 1703, 5, 'taskManage', NULL, NULL, 1, 0, 'M', '0', '0', NULL, NULL, '超级用户', '2023-08-18 14:40:53',
NULL, NULL, NULL);
CALL Pro_Temp_ColumnWork('basic_bussiness_type', 'editType', 'tinyint', 1);

Loading…
Cancel
Save