Your ROOT_URL in app.ini is http://git.zky.com/ but you are visiting http://61.178.84.89:8998/luoluo/ry_zhky/commit/34d7fb22a60266208dc98485cda30d70d517a651 You should set ROOT_URL correctly, otherwise the web may not work correctly.

feat:pg数据库适配

pg_adapter
wangxy 5 months ago
parent 1d7fdd5ea3
commit 34d7fb22a6

@ -59,5 +59,5 @@ public interface TdLeaveMapper extends BaseMapper<TdLeave>
* @param ids
* @return
*/
public int deleteTdLeaveByIds(String[] ids);
public int deleteTdLeaveByIds(Long[] ids);
}

@ -61,7 +61,7 @@ public interface TdTrainMapper extends BaseMapper<TdTrain>
* @param ids
* @return
*/
public int deleteTdTrainByIDs(String[] ids);
public int deleteTdTrainByIDs(Long[] ids);
public TrainCountDTO selectCountList();
}

@ -80,7 +80,7 @@ public class TdLeaveServiceImpl implements ITdLeaveService
@Override
public int deleteTdLeaveByIds(String ids)
{
return tdLeaveMapper.deleteTdLeaveByIds(Convert.toStrArray(ids));
return tdLeaveMapper.deleteTdLeaveByIds(Convert.toLongArray(ids));
}
/**

@ -85,7 +85,7 @@ public class TdTrainServiceImpl extends ServiceImpl<TdTrainMapper,TdTrain> imple
@Override
public int deleteTdTrainByIDs(String ids)
{
return tdTrainMapper.deleteTdTrainByIDs(Convert.toStrArray(ids));
return tdTrainMapper.deleteTdTrainByIDs(Convert.toLongArray(ids));
}
/**

@ -104,7 +104,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
delete from td_leave where id = #{id}
</delete>
<delete id="deleteTdLeaveByIds" parameterType="String">
<delete id="deleteTdLeaveByIds" parameterType="Long">
delete from td_leave where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}

@ -138,7 +138,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
delete from td_train where id = #{id}
</delete>
<delete id="deleteTdTrainByIDs" parameterType="String">
<delete id="deleteTdTrainByIDs" parameterType="Long">
delete from td_train where id in
<foreach item="id" collection="array" open="(" separator="," close=")">
#{id}

Loading…
Cancel
Save