Lapple技术分享 技术改变生活

mybatis中关于传入参数List<String>

Mapper接口: public List<EquAlarmRules> selectEquAlarmRulesList(List<String> paramCodes); Xml代码: <select id="selectEquAlarmRulesList" resultMap="EquAlar

Lapple Lapple 发布于 2024-10-30

linux java 启动是tcp6的怎么改为tcp4

在Linux系统中,Java应用程序默认使用tcp6协议进行启动。然而,在某些情况下,我们可能需要将 其改为tcp4协议,以满足特定需求。 在该脚本中添加如下参数: JAVA_OPTS="$JAVA_OPTS -Djava.net.preferIPv4Stack=true" nohup java -

Lapple Lapple 发布于 2024-09-27