3/6 优化1.0

dev_2.5_ocean
wangwei 4 months ago
parent 08b9a1cf62
commit 1696972fdb

@ -43,12 +43,6 @@
WHERE dict_id = #{dictId}
</select>
<delete id="deleteById" parameterType="java.lang.Long">
delete
from sys_dict_type
where dict_id = #{dictId}
</delete>
<delete id="deleteBatchIds" parameterType="java.util.List"
>

@ -64,11 +64,6 @@
order by updateTime desc
</select>
<select id="filterList2" parameterType="com.glxp.api.req.basic.BasicUnitMaintainFilterRequest"
resultType="com.glxp.api.entity.basic.BasicCorpEntity">
SELECT *

@ -1015,15 +1015,6 @@
</foreach>
</select>
<select id="batchSelectByOriginUuid" resultType="com.glxp.api.entity.basic.UdiRelevanceEntity">
select *
from basic_products where originUuid in
<foreach collection="uuids" item="item" index="index" separator="," open="(" close=")">
#{item}
</foreach>
</select>
<select id="selectPackLevel" resultType="java.lang.Integer">
select packLevel
from basic_products

@ -8,9 +8,6 @@
FROM io_split_des_order isdo
left join sys_workplace sw on isdo.workPlaceCode = sw.workplaceId
left join sys_workplace_document swd on isdo.busType = swd.documentTypeCode
# left join thr_bustype_origin on isdo.busType = thr_bustype_origin.action
# left join basic_bussiness_type on isdo.busType = basic_bussiness_type.action
<where>
<if test="billNo != '' and billNo != null">
AND billNo LIKE concat('%', #{billNo}, '%')

@ -66,8 +66,6 @@
</select>
<select id="detailByUser" resultType="com.glxp.api.entity.dev.DeviceChangeOrderItemEntity">
<!-- <choose>-->
<!-- <when test="param.type==@com.glxp.api.enums.dev.DeviceChangeTypeEnum@ADD">-->
select oi.* from device_change_order_item oi
inner join device_change_order o on o.orderId = oi.orderId
<where>
@ -75,19 +73,5 @@
and (o.deptCode = #{user.locDeptCode} or o.toDeptCode = #{user.locDeptCode})
</where>
order by oi.deviceCode
<!-- </when>-->
<!-- <otherwise>-->
<!-- select oi.orderId, oi.deviceCode, oi.productId, info.udi, info.nameCode, info.productName, info.ggxh,-->
<!-- info.batchNo, info.serialNo, info.productionDate, info.expireDate, info.manufactory, info.measname,-->
<!-- info.zczbhhzbapzbh, info.supId, info.supName from device_change_order_item oi-->
<!-- inner join device_change_order o on o.orderId = oi.orderId-->
<!-- left join device_info info on info.deviceCode = oi.deviceCode-->
<!-- <where>-->
<!-- oi.orderId = #{param.orderId} and o.type = #{param.type}-->
<!-- and (o.deptCode = #{user.locDeptCode} or o.toDeptCode = #{user.locDeptCode})-->
<!-- </where>-->
<!-- order by oi.deviceCode-->
<!-- </otherwise>-->
<!-- </choose>-->
</select>
</mapper>

@ -4931,8 +4931,9 @@ ALTER TABLE io_collect_order_backup
CALL Pro_Temp_ColumnWork('sys_workplace_document', 'autoHandle',
' tinyint NULL DEFAULT NULL COMMENT ''是否自动处理''',
' tinyint NULL DEFAULT b''0''COMMENT ''是否自动处理''',
1);
INSERT ignore INTO `sys_scheduled` (`id`, `cronName`, `cron`, `customerId`, `remark`)
VALUES (158, 'ioCollectOrderFinishTask', '0 */30 * * * ?', NULL, '自动完成第三方处方单');

Loading…
Cancel
Save